PHP under IIS's ISAPI and FastCGI compareconfiguration in the Windows IIS 6.0 PHP, usually CGI, ISAPI and FastCGI are three configurations, all three models can be run successfully in IIS 6.0, here I will talk about the difference between these three methods and performance configuration on differences. 1, CGI (Common Gateway Interface / Common Gateway Interface) is usually an executable Newest Style Nike Air Force 1 Unisex Blue Red Shoes Jordan Fight Club '91 program, such as EXE files and WEB server each occupy a different process, and generally a CGI program can only handle a user request. Thus, when the user requests the number of very long time, it Classic Nike Air Force 1 Mens White Shoes will take up a lot of system resources such as memory, CPU time, resulting in low efficiency. 2, ISAPI (Internet Server Application Program Interface) is a set of interfaces for the WEB service API provided by Microsoft, it can achieve all the functions provided by CGI, and on this basis was extended, such as providing a filter application program interface. Most ISAPI applications in the form of DLL dynamic library to use, it can perform after being requested user ,, in processed after a user request does not disappear immediately, but continue to reside pending other user input in memory. In addition, ISAPI DLL that the application and WEB server in the same process, efficiency is significantly higher than the CGI. Configuring ISAPI mode in Windows Server IIS6 2003 in PHP, configuration is the WEB service extension in IIS, add a new WEB service extension program suffix PHP, ISAPI program as php5isapi.dll, then the environment variable - System variables increase the variable name PHPRC, the value of php.ini path, in the Internet Information Services Manager, select the root of the site or application, open the directory properties page (select properties), and then select the main directory. Click the Configure button, select Map Tab page. Click Add ... in the executable file as: c: \\ php \\ php5isapi.dll, extensions to .php, select Verify that file exists, then OK to save the settings. Nike Air Max 2013 Restart the server to complete the PHP configuration. 3, FastCGI is a scalable, open architecture expansion of CGI, the main behavior is to keep the CGI process the interpreter in memory and thus achieve higher performance. Cyclic loading traditional CGI interpreter is the main reason for poor performance CGI, CGI interpreter if kept in memory and accept scheduling FastCGI Top Design Nike Air Force 1 Unisex Yellow White Shoes process manager, you can provide good performance, scalability and so on. FastCGI is already integrated in IIS7, also supports IIS6, in IIS6 installation method can be found in Microsoft's official documentation, simple translation of what I have here. Click here to download a 32-bit FastCGI extension for IIS, and then install the file after installation should be put under the system32 \\ inetsrv directory. After opening system32 \\ inetsrv directory, execute the following statement, in which c: \\ php to your PHP directory, can be changed to other values. cscript fcgiconfig.js -add -section: PHP -extension: php -path: c: \\ php \\ php-cgi.exe in Internet Information Services Manager, select the root of the site or application, open 2015 Latest Nike Shoes the directory properties page (right Select Properties), and then select the main directory. Click the Configure button, select Map Tab page. Click Add ... in the executable file as: c: \\ windows \\ system32 \\ inetsrv \\ fcgiext.dll, extensions to .php, select Verify that file exists, then OK to save the settings. Modify php.ini file, add the following sentence: After fastcgi.impersonate = 1 cgi.fix_pathinfo = 1 cgi.force_redirect = 0 open system32 \\ inetsrv directory, execute the following statement: cscript fcgiconfig.js -set -section: PHP -InstanceMaxRequests: 10000 cscript fcgiconfig.js -set -section: PHP -EnvironmentVars: PHP_FCGI_MAX_REQUESTS: 10000 Finally, configure the c: \\ php directory security, making IIS_WPG group for this directory has read and execute permissions. At this time, based on the success of PHP FastCGI Nike Air Max 91 is configured on the IIS6. However, according to my own testing, performance FastCGI ISAPI than seems not much higher, not knowing IIS7 under Windows Server 2008 is not it better. Here is the installation of PHP FastCGI IIS7 built based method provided by Microsoft.