主题:  我的winxp+IIS5.1+php怎么不能运行?

ylx

职务:普通成员
等级:1
金币:0.0
发贴:12
注册:2002/6/23 17:50:16
#12002/8/1 21:04:20
winxp+IIS5.1+php4.2,运行php出现如下信息:

Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

请问各位大虾如何解决,不胜感激!!!



fancyren

职务:普通成员
等级:1
金币:0.0
发贴:100
注册:2002/5/21 21:02:58
#22002/8/1 21:58:10
我按书上的设置,怎么不会有这样的问题呀????



5D雷锋

职务:普通成员
等级:3
金币:10.0
发贴:1008
注册:2001/11/30 12:30:34
#32002/8/1 23:05:33
你的筛选器选的是什么啊!建议用sapi\php4isapi.dll
还有你的程序映射是不是选的php.exe啊!建议也用sapi\php4isapi.dll



ylx

职务:普通成员
等级:1
金币:0.0
发贴:12
注册:2002/6/23 17:50:16
#42002/8/2 14:59:04
按照上面的进行修改,已经好了,谢谢!