登陆

apache 如何设置才能超长时间不中断

我看过设置<IfModule mod_fcgid.c> 的,1591671538(1).png没设置前,40秒左右中断,设置了之后,平均在8分钟中断,1591671387(1).jpg如何才能永不中断呢,我用的是sleep(600)调试的

LL2020-06-09 11:01:52625 次浏览

全部回复(4)我要回复

  • L

    L2020-06-24 09:11:37

    噢,我忘了我在这里发了贴,抱歉,我已经解决了,主要目的是希望长久等待,需要apache引入,mod_fcgid.c,类似图片那个,1592960745(1).jpg参数可参考大佬们的记录https://blog.csdn.net/nyist327/article/details/44243399,这些参数没设置,php里再怎么设置都没用

    回复
    0
  • 不冷不热

    不冷不热2020-06-24 08:57:30

    目前你找到解决办法了吗

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at admin@phpStudy.net to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    是报这样的错误码

    回复
    0
  • L

    嗯嗯,我解决了,如果是要长时间等待响应,这个需要apache设置 mod_fcgid.c这个模块

    L · 2020-06-24 09:13:27
  • 三三@xp.cn

    三三@xp.cn2020-06-12 17:59:30

    应该在php超时里也设置

    回复
    0
  • 取消回复发送