InfoQ

交流

讨论:我配置完php,可是提示下面的错误,各位大侠帮我看看

作者 libobo 发布于 0000-00-00 分类: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.



逛论坛交流我配置完php,可是提示下面的错误,各位大侠帮我看看

加入书签
digg+,
reddit+,
del.icio.us+,
dzone+

4 条回复

回复

>去Php.ini 修改cgi.force_redirect .. 发表人 cfz_548 发表于 10月01日
>好象还是不行~ 发表人 libobo 发表于 10月01日
收到! 发表人 nono 发表于 01月24日
设置force-cgi-redirect=0; 发表人 dzhsy 发表于 01月24日
  1. >去Php.ini
    修改cgi.force_redirect = 0

  2. >好象还是不行~

  3. 收到!

  4. 设置force-cgi-redirect=0;




  5. 我有话要讲:(可以匿名发表, 发广告的有多远请滚多远!!!)

    昵称: 请输入验证码:


抢着回答

看到一个熟人

还保持得很好啊

Help!求助!Help!求助!Help!求助!

我在windows下apache 2+php 4.3什么问题都没有,在RH linux 8下,...

这是怎么回事

把多文本框的数据放到表中可以用 $text=ereg_replace(" "," ",...

Session的临时文件会自动删除吗?

我的C: mp里有一些Session的临时文件,他们是会被系统自动删除,...

求asp.net手册,类似于php手册那样,能...

求ASP.NET手册,类似于PHP手册那样,能提供全部的对象和函数类等...

关于数据库的相同结构表的合并

现在本地库中有表A, 要从服务器的配置文件中导入一批数据到表A,...

偶有新发现

php中不等于$a!==0和$a 0好象不太一样哦!

php文件向自己post数据的安全问题

向php向自己post数据的时候,只要别人把这个php存为本地文件,post...

一场游戏一场梦

王傑《一場游戲一場夢》 發行公司:飛碟唱片 發行日期:19...

怎么大侠们都午休了?5555...

http://bbs.phpres.com/showthread.php?s=&postid=237201#post23...

[]