加金开发 2020-04-09 22:33 采纳率: 71.4%
浏览 124
已采纳

php tomcat 连接 mysql 的时候

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 CGI二进制文件是在启用force-cgi-redirect的情况下编译的。这意味着仅在设置REDIRECT_STATUS CGI变量(例如,通过Apache Action指令)的情况下,才会提供页面。

有关为什么存在此行为的更多信息,请参见CGI安全手册页。

有关更改此行为或重新启用此Web服务器的更多信息,请参阅此发行版随附的安装文件,或访问 手册页。

小白 最好能说下详细的步骤!

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2020-04-10 09:42
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已采纳回答 9月14日