Originally from: http://www.jb51.net/os/windows/62390.html
Under normal circumstances, we deploy Web server (IIS) support in Windows systems that PHP is using ISAPI channels. Refer to this article "quickly install, configure, and debug PHP5.2.0 under the IIS Environment"
The WINDOWS7-supported IIS7 integrates fastcgi, which is theoretically faster and more stable than CGI, ISAPI access channels. You can refer to this article "the ISAPI and fastcgi Comparison of PHP under IIS"
So how do I deploy PHP support in IIS7 with fastcgi?
Discover a good tool for browsing the IIS official website (http://www.iis.net) The PHP Manager for IIS link points to this: http://phpmanager.codeplex.com/
First, install IIS7 (Control Panel program and function) in WIN7 system click on the left to turn Windows features on or off Internet Information Services, and support CGI.
Second, download and install PHP Manager 1.2 for IIS (http://phpmanager.codeplex.com/releases/view/69115)
Third, open IIS7 for PHP Manager to configure
Four, click "Register New PHP version", Pop-up box browse select "Php-cgi.exe"
If you need to save PHP-related files on disk http://www.php.net/downloads.php
Build the IIS site and create a PHP test file
*, you can see in the handler map that PHP support uses the FASTCGI channel
Ext: Win7 IIS7 application PHP Manager uses fastcgi channel to quickly deploy PHP support