Skip to content

API Site Setup Instructions

gregtheyoung edited this page Oct 15, 2014 · 17 revisions

PHP Setup

Install PHP http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53 This downloaded a file called php53.exe As part of it installing, it installed PHP Manager fo IIS MS Drivers for PHP 5.3 for SQL Server in IIS - but I clicked on the X and removed this PHP 5.3.28 It said it failed when installing PHP Manager for IIS Went through role/feature setup for server and added .NET 3.5 feature Also include HTTP Activation, which caused a slew of other .NET things to be installe Installed PHP Manager directly http://phpmanager.codeplex.com/releases/view/69115

Ran PHP Manager Took recommendation to set the default for .php and to monitor changes to the php.ini file

Added perimssion for IUSR on the wwwroot directory

Install Slim framework http://www.slimframework.com/install Extracted to wwwroot/querymodule/v0

Created hello world Needed web.config from here: https://github.com/codeguy/Slim

Checked to see that I could have querymodule/v0 and querymodule/v1 - no problem there!

For development Installed PHPStorm

Installed and configured xdebug
	http://www.leighton.com/blog/php-debugging-in-phpstorm-6-0-with-xdebug
	From the custom install instructions
		Download php_xdebug-2.2.5-5.3-vc9-nts.dll
		Move the downloaded file to "C:\Program Files (x86)\PHP\v5.3\ext"
		Edit C:\Program Files (x86)\PHP\v5.3\php.ini and add the line
		zend_extension = "C:\Program Files (x86)\PHP\v5.3\ext\php_xdebug-2.2.5-5.3-vc9-nts.dll"

Installed Xdebug chrome extension
Installed JetBrains IDE support chrome extension
Clone this wiki locally