PHP environment Configuration Overview

Source: Internet
Author: User
Tags windows server versions microsoft iis

Let's get started with PHP. Let's talk about the PHP configuration method and practice it on our own. In addition, with the information we can see on the Internet, we have roughly summarized it. it's no surprise that the technology is low. The PHP runtime environment options include IIS and Apache. I use Apache myself. After the environment is set up and Zend optimizer is added, the performance is still very suspicious, and stability is also very good. Here, we will talk about IIS running PHP. I will list the configuration of IIS loading php as follows:

1. iis5 and 6 load the PHP environment in CGI Mode. We know that PHP is similar to Java, that is, they are bothExplain run, Not like Asp.net applicationsProgramYesCompile and run. Therefore, when loading PHP through CGI, it adds the. phpInterpreter. This method is commonly used in earlier Windows Server versions, but it is rarely used now. However, it is worth mentioning that the CGI Method for loading PHP is stillRelatively stableButLow Efficiency.

If ISAPI is loaded, the interpreter is configured as php5isapi. dll. Currently, this method is widely used,High Efficiency., But (I said again) This Loading MethodUnstable.

3. loading the PHP environment in FastCGI mode is rare in earlier versions of IIS servers, but FastCGI (Windows 7 mighty, server 2008 R2 mighty ~~). This loading method has the following features:High Efficiency,High Stability. FastCGI will be the development trend in the future.

On the Microsoft IIS website, you can see FastCGI 1.5 for IIS 6 and 5.1. Do you know what this is called? This is awesome! FastCGI can be used on IIS Server 5.1, this frees many earlier versions of Windows server from changing the server system or upgrading the server because it cannot improve the server performance, in fact, Windows Server in China is mainly 2003 ).

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.