Iis7.x and PHP

Source: Internet
Author: User

Iis7.0 is released with Windows Server 2008. Iis7.0 can be integrated with PHP in two ways: ISAPI and FastCGI. It is said that the integration of FastCGI and PHP has been greatly improved in windows2008, and the efficiency has improved a lot, which is faster than Apache.

Iis7.0 uses the ISAPI method and PHP integrated configuration, which is exactly the same as Windows 2003. When integrating with PHP with FastCGI method, you need to select the FastCGI option of iis7.0 to map with *. php, EXE file select php-cgi.exe.

Windows Server 2008 R2 was released on July 15, 2009. The IIS version has been updated to version 7.5, and its functions have been greatly enhanced. In iis7.5, The iis7 administration pack is integrated to provide customers:

-Integrated ASP. NET authorization, custom errors, FastCGI, and request filtering in IIS manager.
-Configuration Manager: provides a visual editor for managing the iis7 Configuration System.

FastCGI integration management is related to PhP integration. In iis7.0, iis7 administration pack (http://www.iis.net/expand/administrationpack) needs to be installed to use this feature.

Iis7.5 improved FastCGI support:

Iis7 supports PHP hosting through FastCGI, and continues to renovate and improve FastCGI in Windows Server 2008 R2 iis7. Enhanced support includes:

-You can manage FastCGI settings in IIS manager.
-Automatically update php-cgi.exe when php.ini changes. In this version, IIS monitors a file for each process pool. If the file is modified, it will recycle the FastCGI process of the process pool. This feature is disabled by default. If you open it (through a setting on the user interface), you can specify the monitored file path.
-FastCGI's Freb support allows you to more effectively troubleshoot PHP and other FastCGI compatible applications.
-Maxinstance can be dynamic. If maxinstance is set to 0, IIS automatically monitors the system load and adjusts maxinstances. This allows us to optimize PHP performance.
-Supports FastCGI error behavior control based on specific errors.

Author: Zhang Qing (mesh)
From mesh horizon: http://blog.why100000.com
Why 100,000 computer learning networks: http://www.why100000.com

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.