php4.3.0的问题

zykj_2000 2002-12-30 10:31:16
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.
我IIS 5.0+php4.3.0装了PHP就能运行了,这是什么错误啊,
...全文
8 点赞 收藏 9
写回复
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
chinaworker 2002-12-31
用php.exe调试程序比较稳定

用php4isapi.dll
经常会出现
PHP has encountered an Access Violation at 10001364

还有其他一些乱七八遭的错误。
回复
zykj_2000 2002-12-31
IIS +php4.2.3
的时候用PHP4isapi很正常啊,为什么PHP4.3.0就不行呢,
顺便问一下

php.exe
php4isapi.dll
哪个性能好
回复
xiwanghope 2002-12-31
用apache+php
回复
21bird 2002-12-31
等PHP 4.3.123......
回复
phpteam 2002-12-30
很正常!WIN下面的PHP跟IIS结合还不是很稳定,有的机子上可以,在另外机子就不一定了。用CGI方式吧,或者改用APACHE。
回复
zykj_2000 2002-12-30
我用的是php4isapi
回复
zykj_2000 2002-12-30
我改了,出现这个
PHP has encountered an Access Violation at 10001364
回复
tntxhy 2002-12-30
php.ini
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
cgi.force_redirect = 0
回复
zykj_2000 2002-12-30
有没有更好的解决办法
回复
发动态
发帖子
基础编程
创建于2007-09-28

2.1w+

社区成员

从PHP安装配置,PHP入门,PHP基础到PHP应用
申请成为版主
社区公告
暂无公告