5. Under Home Directory, click on the Configuration button. Add a new entry to the Application Mappings. Use the path the
php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions, blank, and check the Script engine
checkbox
IIS 4.0+ (CGI)
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
复制 php.ini-dist 到你的体系目次(装置 windows 的目次),更名字为 php.ini,同时编纂 php.ini 为你需求的设置装备摆设
2. Start the Microsoft Management Console (may appear as 'Internet Services Manager', either in your Windows NT 4.0
Option Pack branch or the Control Panel->Administrative Tools under Windows 2000).
运转 掌握台办理(能够为 IIS办事办理器,在你的 windows NT 4.0 的 Option Pace 局部,或win2000 的掌握面版下的超等用户东西下)
3. Right click on your Web server node (will most probably appear as 'Default Web Server'), and select 'Properties'.
右键点击你的 web 办事器节点(大多半能够显示为"默许WEB办事器"),选择属性
4. Under 'Home Directory', click on the 'Configuration' button.
在主目次下,选择'设置装备摆设'按钮
5.Add a new entry to the Application Mappings; Use the path to php.exe as the Executable, supply .php as the extension, leave
'Method exclusions', blank, and check the Script engine checkbox.
PWS 4.0+ (isapi):
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
复制 php.ini-dist 到你的体系目次(装置 windows 的目次),更名字为 php.ini,同时编纂 php.ini 为你需求的设置装备摆设
2. Edit the enclosed PWS-php4isapi.reg (ISAPI interface) or PWS-php4cgi.reg (CGI interface) file to reflect the location of
your php4isapi.dll / php.exe. Forward slashes should be escaped, for example:
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw3svcparametersScript Map] ".php"="C:Program FilesPHPphp4isapi.dll"
3. In the PWS Manager, right click on a given directory you want to add PHP support to, and select Properties. Check the 'Execute' checkbox, and confirm.
PWS 4.0+ (CGI):
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
复制 php.ini-dist 到你的体系目次(装置 windows 的目次),更名字为 php.ini,同时编纂 php.ini 为你需求的设置装备摆设
2. Edit the enclosed PWS-php4.reg file to reflect the location of your php.exe. Forward slashes should be escaped,
for example:
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw3svcparametersScript Map] ".php"="C:Program FilesPHPphp.exe"
3. In the PWS Manager, right click on a given directory you want to add PHP
support to, and select Properties. Check the 'Execute' checkbox, and
confirm.