参考的网站
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.
配置 php.ini cgi.force_redirect =1 改 0
放到 windows 下面
本文介绍了解决PHP CGI无法直接访问的问题,通过调整php.ini文件中的cgi.force_redirect配置项,将其从默认的1改为0,从而确保页面能够在特定环境下正常加载。

1551

被折叠的 条评论
为什么被折叠?



