PHP on IIS
Here are some notes I took after asking Billy the easiest and fastest way to get PHP running in IIS on a windows 7 machine. Follow these steps and you'll be able to work on PHP scripts in a matter of minutes -
1. PHP(此步骤不需要,可以跳过从第二步开始) Download and install Php 5.3
http://windows.php.net/downloads/releases/ php-5.3.6-Win32-VC9-x86.msi
2. IIS > CGI Add/Remove features > Turn Windows features on or off
3. Web Platform Installer > PHP Manager Download and install ‘Microsoft Web Platform Installer 3.0’(http://www.microsoft.com/web/downloads/platform.aspx) Using ‘Microsoft Web Platform Installer 3.0’ to Install 'PHP Manager' (including PHP5.3 and configure php & IIS properly) FYI, please see the below screenshot:
This will not only install the PHP manager, but will also configure PHP and IIS properly - so we don't need to manually setup a bunch of handlers. Note: it currently installs and configures PHP 5.3.5
4. Create a test PHP site in IIS "D://phpdemo//index.php" IIS > Sites > right-click > Add web site localhost:8080-> D://phpdemo/ Hit http://localhost:8080/index.php Make sure you get the PHP info -
We can use Visual Studio to edit the .php files, or you can install the free Eclipse - http://www.eclipse.org/ Good times.
To run eclipse, you ought to download and set up JDK |