This tutorial mainly writes IIS7 and PHP's new version of the configuration (iis7+fastcgi+php).
Due to the use of the IIS7 version of IIS under Windows 2008 (WIN7), there may be a different configuration method, so this tutorial is written.
By the way a few days ago PHP5.5.0 Alpha out, because the busy did not go to the environment to test. It's time to get together.
This time in the virtual machine installation operation, the system is installed by the Windows 2008 Standard SP2 (32-bit) version. Once installed, add the role (IIS service), and the default is enough to be CGI when adding a role.
The web4.0 platform installer is also installed. web4.0 Platform Installer: http://www.iis.net/downloads
Open the Web Platform installer, search "fastcgi", install the IIS 7.0 fastcgi update, as shown in the figure (I have already installed, as long as you choose to install the first on it, the following 2 will be automatically installed)
It's over here. Preparatory work has been completed to download the PHP Zip package (VC9 x86 Non thread safe)
Decompression, I put myself into the C-Disk PHP folder (c:/php)
IIS Admin Interface---handler mapping---adding module mappings
Executable: Path to Php-cgi.exe
Name: Casual (for example: PHP)
Default Document---Add index.php I won't say it in detail here.
root directory, create phpinfo.php file, content
<?php phpinfo ();? >
To access http://127.0.0.1/phpinfo.php, the following figure appears.