Does not work function set_time_limit ()

2 posts / 0 new
Last post
#1 Thu, 08/18/2011 - 11:24
JTprof

Does not work function set_time_limit ()

Greetings.
I have the server with Webmin/Virtualmin, CentOS 5.6, Apache, php 5.3.6.
In my php scripts does not work function set_time_limit ();
And TimeOut (at work php scripts) depends only from IPCCommTimeout (in httpd.conf)
(SafeMode switch off)

In error_log:
[Thu Aug 18 17:58:25 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: read data timeout in 40 seconds
[Thu Aug 18 17:58:25 2011] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.htm

Thu, 08/18/2011 - 12:27
andreychek

Howdy,

You can increase the FCGID timeout by going into Server Configuration -> Website Options, and changing the "Maximum PHP script run time" setting.

-Eric

Topic locked