Article from evil baboons
This should be the best PHP support method on Win currently
1. Download and install FastCGI Extension for Internet Information Services 6.0
Aspx? FamilyID = 2d481579-9a7c-4632-b6e6-dee9097f9dc5 & displaylang = en "target = _ blank> http://www.microsoft.com/downloads/details.aspx? FamilyID = 2d481579-9a7c-4632-b6e6-dee9097f9dc5 & displaylang = en
2. Download php-5.2.5-nts-win32.zip
Http://www.php.net/downloads
Decompress the package to the C: PHP Directory.
Make sure that the IIS startup account has the permission to read and execute C: PHP *.
3. Register PHP to FastCGI
Cscript fcgiconfig. js-add-section: "PHP"-extension: php-path: "C: PHPphp-cgi.exe"
4. Perform some performance and security settings
C: PHPphp. ini-recommended to C: PHPphp. ini
Open C: PHPphp. ini and modify:
Extension_dir = "C: PHPext"
Fastcgi. impersonate = 1
Cgi. fix_pathinfo = 1
Cgi. force_redirect = 0
Run:
Cscript fcgiconfig. js-set-section: "PHP"-InstanceMaxRequests: 10000
Cscript fcgiconfig. js-set-section: "PHP"-EnvironmentVars: PHP_FCGI_MAX_REQUESTS: 10000
You can set the maximum pool and number of response connections based on your hardware configuration and usage.