Win7+iis+fastcgi+php+mysql

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.