With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service Extensions, choose "Add a new Web service extension", enter in a name such as PHP, choose the Add button and for the value browse to either the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or php-cgi.exe) then check "Set extension status to Allowed" and click OK. In order to use index.php as a default content page, do the following: From within the Documents tab, choose Add. Type in index.php and click OK. Adjust the order by choosing Move Up or Move Down. This is similar to setting DirectoryIndex with Apache. The steps above must be repeated for each extension that is to be associated with PHP scripts. .php is the most common although .php3 may be required for legacy applications. If you experience 100% CPU usage after some time, turn off the IIS setting Cache ISAPI Application.PHP文件夹下install.txt中关于IIS6下配置PHP的说明,好好看看吧
Extensions, choose "Add a new Web service extension", enter in a name
such as PHP, choose the Add button and for the value browse to either
the ISAPI file (php4isapi.dll or php5isapi.dll) or CGI (php.exe or
php-cgi.exe) then check "Set extension status to Allowed" and click
OK. In order to use index.php as a default content page, do the following:
From within the Documents tab, choose Add. Type in index.php and click
OK. Adjust the order by choosing Move Up or Move Down. This is similar
to setting DirectoryIndex with Apache. The steps above must be repeated for each extension that is to be
associated with PHP scripts. .php is the most common although .php3
may be required for legacy applications. If you experience 100% CPU usage after some time, turn off the IIS
setting Cache ISAPI Application.PHP文件夹下install.txt中关于IIS6下配置PHP的说明,好好看看吧