能不能把apache2.0的配置 也给出来.
解决方案 »
- PHP如何提前输出?
- discuz 论坛 如何加提示
- [百度分享]PHP函数的实现原理及性能分析(四)
- .htaccess URL重写问题 急,急,急
- php + javascript 验证验证码
- 指定值的获取,高手帮忙下!!
- 有人用memcached实现过单点登陆系统么?
- 本地测试没问题,传到服务器上就报错:Warning: fopen(): php_hostconnect: connect failed
- 下载.xls文件出现乱码问题(急,在线等)
- 請大家看看,我的表單提交問題???
- 有关php的安装,急!急!急!!!!!!!
- class(类),var(定义变量),entends(继承),sybase11.9.2(连接)100%内存不可写错误。(2k下)
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.
但我是用ISAPI配置,是怎么回事。
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安装为IIS的CGI方式就会出现的错误。
解决方法:修改php.ini将cgi.force_redirect设为0,然后重起IIS。
但我的电脑问题依旧