PhpStudy+Xdebug调试超时500解决方法 Apache2.4调试时间太短的问题
PhpStudy+Apache(Fastcgi)+Xdebug调试时间过长出现500时解决方法,有时再用xdebug调试程序时,由于调试时间过长会出现500服务器错误的现象,根本原因在于apache默认的连接时间过短导致。 PhpStudy+Apache(Fastcgi)+Xdebug调试时间过长出现500时解决方法 一 . 问题现象 有时再用xdebug调试程序时,由于调试时间过长会出现500服务器错误的现象,根本原因在于apache默认的连接时间过短导致。 二 . 适用于 中间件:Apache(Fastcgi) 错误日志为:End of script output before headers 三 . 解决方法 1.打开apache配置文件注释掉如下,并添加一行。 # Various default settings Include conf/extra/httpd-default.conf 将注释去掉 Include conf/extra/httpd-fcgid.conf 添加此行 2. 更改httpd-default.conf如下内容 # Timeout: The number of seconds before receives and sends time out. # Timeout 3600 # # KeepAlive: Whether or not to