mod_fcgid: read data timeout in 45 seconds Print

  • Linux
  • 0

If you're gettng a 500 error and your pages are not coming up because PHP is timing out, this is how you fix it:

This worked for me on Plesk 11, running on CentOS.

Edit the file:

/etc/httpd/conf.d/fcgid.conf

Specifically, change

FcgidIOTimeout 45

to

FcgidIOTimeout 3600

3600 seconds = 1 hour. Should be long enough for most but adjust upwards if required. I saw one example quoting 7200 seconds in there.

Finally, restart Apache to make the new setting active.

apachectl graceful


If you're gettng a 500 error and your pages are not coming up because PHP is timing out, this is how you fix it:

Was this answer helpful?

« Back