1. Install IIS v7.0
Control Panel-Programs and features-turn Windows features on or off
Test whether IIS v7.0 is installed successfully, in Browser input: http://localhost/or HTTP://127.0.0.1/
A successful installation of IIS v7.0 appears as described on the interface
New site: (default site used as asp/asp.net/, start port 8080, i.e. access using http://localhost:8080/)
2. Configuring the PHP Environment
Use PHP v5.2.5. Download PHP v5.2.5 and unzip to G:\php
In IIS, do the following:
To add an ISAPI filter:
To add a script map:
To add an application pool:
Change the site application pool and add the default document index.php:
Modify the G:/php/php.ini-list file name to php.ini, copy to f:/windows/(dual system, Win7 Drive), modify php.ini: Enable it to support gd,mysql, etc.
To modify the Extension_dir directory:
Create a new index.php in the default directory
Enter http://127.0.0.1:8080/Verify if PHP was installed successfully:
Problem solving:
HTTP Error 404.17-not Found
The requested content appears to be a script and therefore cannot be handled by a static file handler.
1 in the Advanced settings and default settings of the application pool
Enable 32-bit application set to True, original is false, invalid result
Reference: http://blog.163.com/ydr_899/blog/static/389943320120142572956/
Quick Build PHP environment under Windows 7 windows7+iis7+php