qq:907999456
First, install IIS: Start--Control Panel--Programs--turn Windows features on or off
Second, installation php:php download: http://windows.php.net/download/VC11 x86 Thread Safe
1. Unzip to D drive. Rename folder to "PHP"
2, with the directory under the php.ini-production renamed PHP.ini
3. Open PHP.ini to modify the following content
Extension_dir = "./" Change Extension_dir = "D:\php\ext"
Cgi.force_redirect = 1 Change cgi.force_redirect = 0
The following content goes ";"
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
4. Start--Control Panel--all Control Panel items--Administrative Tools--internet Information Services (IIS) Manager--Handler mappings
5. Add Module mappings
6. FastCGI setting
7. Add file monitoring and environment variables: php_fcgi_max_requests, set value to 10000
8. Test PHP
<?php
Phpinfo ();
?>
Third, install MySQL
Install the next step. Remember not to configure. Follow these steps.
Find the MySQLInstanceConfig.exe under Mysql\bin, modify the compatibility
Win7+iis+fastcgi+php+mysql