-
Couldn't load subscription status.
- Fork 11
API Site Setup Instructions
#Instructions for Setting Up a Server for PatentsView API
-
Using the Windows Server Manager, add the Web Server (IIS) role.
-
While going through that wizard, be sure to include: HTTP Activation - which is under the .NET 4.5 group. Clicking that will confirm to add a slew of other features.
-
Install PHP via the Web Platform Installer
-
http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53 and click the "Install Now" button.
-
A PHP53.exe file should've been downloaded. Run it.
-
On the Prerequisites pages, deselect the drivers for SQL Server.
-
Click install.
-
It will probably say that it failed to install "PHP Manager for IIS", so we install it manually.
-
Installed PHP Manager directly.
-
Download and install .NET 3.5 framework from here: http://www.microsoft.com/en-us/download/details.aspx?id=22
-
Go to this page: http://phpmanager.codeplex.com/releases/view/69115
-
Download "PHP Manager 1.2 for IIS 7 - x64"
-
Run the download.
-
It will ask to download and install .NET 2.0. Do that.
-
Install PHP
-
Go to this site and click on install. This will run the Web Platform installer. http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53
-
This downloaded a file called php53.exe. Run it. 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