1: Download a PHP manager to install. After you open IIS Manager, click on the computer and you will be able to see the right phpmanager lying there quietly. After double-clicking the Phpmanager, we are able to start configuring PHP.
2:
php.iniCGI and FastCGI settings in the
Fastcgi.impersonate = 1fastcgi.logging = 0cgi.fix_pathinfo=1cgi.force_redirect = 0
Then click Register New PHP version to do so. Select the physical location where the php-cgi resides, and the other configurations are almost identical to those under Apache, but are displayed graphically;
3: The last thing to say is URL rewrite. Need to download URL Rewrite moduel. Official: Http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module
There are x86 (32-bit) and x64 (64-bit), generally download 64-bit can.
(32-bit is said to be in application pool = "Advanced settings.") Enable 32-bit applications)
After the download has been installed. The URL rewrite will be displayed at the same peer as the PHP manager of the Web site, and can be imported directly into Apache's htaccess file with import rules. Conversion support for IIS rewrite, very user-friendly.
4: Test, all OK;
References: http://www.php.net/manual/zh/install.windows.iis7.php
Http://www.myhack58.com/Article/sort099/sort0100/2013/40240_3.htm
Windows2008rc2 IIS to configure the PHP execution Environment