用php作为过滤器名字,提供 phpisapi.dll的路径
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
在主(home)目录,点击配置按钮。增加一个新的程序映射入口。使用php4isapi.dll路径作为执行, .php 为扩展名,执行模式为空,选中脚本引擎
6. stop iis completely
完全停止 iis
7. start iis again
重新启动 iis
------------------------------------------------------------------------------------------
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.
在主(home)目录,点击配置按钮。增加一个新的程序映射入口。使用php4isapi.dll路径作为执行, .php 为扩展名,执行模式为空,选中脚本引擎
6. put a .php file under your web server's document root and check if it works!
在web主目录放一个 .php 文件,测试是否工作
------------------------------------------------------------------------------------------
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"
编辑附带的 pws-php4isapi.reg (isapi 界面) 或者 pws-php4cgi.reg (cgi 界面)文件来指出你的 php4isapi.dll 或 php.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.
在pws管理,右键点击想支持 php 的路径,选择属性,选中执行。确认。
------------------------------------------------------------------------------------------
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"
编辑附带的 pws-php4isapi.reg (isapi 界面) 或者 pws-php4cgi.reg (cgi 界面)文件来指出你的 php4isapi.dll 或 php.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.
在pws管理,右键点击想支持 php 的路径,选择属性,选中执行。确认。
4. at this point, pws should have built-in php support.
新闻热点
疑难解答