PHP Development Environment Configuration ~windows 7 IIS

Source: Internet
Author: User
Tags configuration php php development environment

1. Configure IIS to add role services: CGI, ISAPI extensions, ISAPI filters

2. Download the PHP installation package

http://windows.php.net/download/

3. Add Module mappings

4, Configuration PHP.ini

Copy Php-development.ini to PHP.ini
Modify extension Path: Extension_dir
Modify the component to be extended: Extension=php_mysql.dll (On Demand)
TimeZone: Date.timezone = Asia/shanghai
Fastcgi.impersonate=1 default is 0, IIS, 1
Cgi.fix_pathinfo=1
cgi.force_redirect=0 defaults to 1,iis, which is 0
Session Store Path: Session.save_path = "/tmp"

5. Folder permissions

PHP installation directory, Web site directory, iis_users Full Control

6. Check whether the configuration is correct

Create a new index.php, add a line: <?php phpinfo ();?;, correct display:

PHP Development Environment Configuration ~windows 7 IIS

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.