mod_fcgid: read data timeout in 31 seconds

I have just noticed in one of the servers managed by me an interesting error.

At the first look peoples can say that there is a php error but after a closer look i have noticed a warning that explained everything.

It seems that *default* max_execution_time on php is 30 seconds in php.ini
max_execution_time = 30
Here is a quick fix for this issue :

On webmin/virtualmin :
Login to webmin
Choose domain that has the problem
Server Configuration
Website Options
Increase maximum PHP script run time

modify max_execution_time to a higher value (30 = 30 seconds default) like 60
or disable it with

save and reload apache

On servers without webmin/virtualmin
modify max_execution_time in /etc/php5/apache2/php.ini with desired value or set 0 for unlimited.
reload apache


Since this error is generated by mod_fcgid add this setting into your virtualhost or to make it global in fcgid.conf considering that you want to raise timeout value from 30 seconds to 60.

IPCCommTimeout 60

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">