phpstudy 做的后台长时间运行的脚本,设置了脚本运行时间还是40秒就返回500,用的apache2.4.39

phpstudy  集成版  apache 运行40秒后报500服务器错误,但是没有错误日志,原因暂时没有了解,解决方案在下

 

 

 

把这个加到httpd.con里面,就可以解决了   这是phpstudy中一个id名叫 许家陵 解决的,感谢!

<IfModule mod_fcgid.c>

 FcgidProcessLifeTime 8200

 FcgidIOTimeout 8200

 FcgidConnectTimeout 4000

 </IfModule>

https://www.xp.cn/wenda/884.html  这是原站解决方案地址

posted @ 2020-06-26 22:00  周小黑  阅读(1180)  评论(3编辑  收藏  举报