2012年11月8日 星期四

IIS 6.0 run PHP 5.4.8

Reference:
http://tw2.php.net/manual/zh/install.windows.iis6.php
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/configuring-the-fastcgi-extension-for-iis-60

1. modify C:\php\php.ini
    fastcgi.impersonate = 1
    fastcgi.logging = 0
    cgi.fix_pathinfo = 1
    cgi.force_redirect = 0
2. install FastCGI Extension for IIS 6.0
3. add IIS application extension for .php


4. modify C:\WINDOWS\system32\inetsrv\fcgiext.ini
[Types]
php=PHP

[PHP]
ExePath=C:\PHP\php-cgi.exe

4. restart service "IIS Admin Service"
5. test php page

沒有留言:

張貼留言