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 ).