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就能运行了,这是什么错误啊,
...全文
45 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
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
某鸟 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
  • 打赏
  • 举报
回复
有没有更好的解决办法

21,887

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧