Intensive PHP script failing w/ “The timeout specified has expired” error / ap_content_length_filter

后端 未结 10 1180
南方客
南方客 2020-12-30 10:50

Running a MySQL intensive PHP script that is failing. Apache log reports this:

[Wed Jan 13 00:20:10 2010] [error] [client xxx.xx.xxx.xxxx] (70007)
The timeou         


        
10条回答
  •  Happy的楠姐
    2020-12-30 11:23

    There's also the php max_execution_time directive. Note that the web server's timeout settings may also be limiting your script:

    Your web server can have other timeout configurations that may also interrupt PHP execution. Apache has a Timeout directive and IIS has a CGI timeout function. Both default to 300 seconds. See your web server documentation for specific details.

    Actually, this looks like an Apache error, it also effects Python scripts. Have you tried googling it yet?

提交回复
热议问题