关于IIS+PHP+MYSQL配置出现的问题

jjnevergiveup 2003-10-27 05:15:42
我在配置IIS+PHP+MYSQL时候遇到这样一个问题(mysql、php已经安装并配置完成),我在打开php网页的时候它显示了这样一个错误,PHP has encountered an Access Violation at 10001364,请问这是什么原因呢?

当我把php.ini文件中;cgi.force_redirect = 1去掉注释,并修改成cgi.force_redirect = 0又出现下面的错误提示:
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.
请问对这样的错误哪位高手知道怎么解决?
...全文
66 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
xinchangpeng 2003-10-27
  • 打赏
  • 举报
回复
win2000server的确对php的支持不太稳定
missyesterday 2003-10-27
  • 打赏
  • 举报
回复
我在win2000 pro上面配置的很顺利,在win2000 server上才出现这个问题的。
cokeyang 2003-10-27
  • 打赏
  • 举报
回复
没有遇到过!

21,890

社区成员

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

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