How to run the PHP feature extension on IIS 7

Source: Internet
Author: User
Tags iis web services microsoft iis

This article includes manual setup of Internet Information Services (IIS) 7.0 and later to enable PHP to work in Windows 7, and this article is suitable for Windows Server 2008 and Windows that have Windows Vista SP1 installed Server 2008 R2. For information about how to set up IIS 5.1 and IIS 6.0 on Windows XP, Windows Server 2003, refer to Microsoft IIS 5.1 and IIS 6.0 (possibly English). For instructions on Windows XP and Windows Server 2003 IIS 5.1 and IIS 6.0, refer to Microsoft's IIS 5.1 and IIS 6.0, which may be in English.

Enable FASTCGI support in IIS

The IIS fastcgi modules that are installed by default are disabled. It is enabled based on steps that are different from the version of Windows that is being used.

To enable fastcgi support in Windows Vista SP1 and Windows 7, the following actions are required:

Select "Run" in the Windows Start menu, enter "Optionalfeatures.exe" in the dialog box, and click "OK";

In the Windows Features dialog box, expand Internet Information Services, World Wide Web services, application development features, and then enable the CGI check box;

Click "OK" until the installation is complete.

As shown in the following illustration:

To enable FASTCGI support for Windows Server 2008 and Windows Server 2008 R2:

Select "Run" in the Windows Start menu, enter "Compmgmtlauncher" and click "OK";

If the current Web server (IIS) role is not based on the roles node, and then click Add Role, it is added;

If the role exists in Web server (IIS), then click Add Role Service, and then enable the "CGI" checkbox for the application Development Group;

Click "Next" and then click "Install" and wait for the installation to complete.

As shown in the following illustration:

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.