Windows2008rc2 IIS configuration PHP execution Environment

Source: Internet
Author: User
Tags configuration php

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

Related Article

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.