mod_fcgid: read data timeout in xx seconds

Tech Dasher

If your server FastCGI enabled in Apache, you have face ‘500 Internal Server Error’ after execution 40 to 45 sec .

When checking into /usr/local/apache/logs/error_log, you will see something similar as below:

[xxx xxx xx xx:xx:xx xxxx ] [warn] [client] mod_fcgid: read data timeout in xx seconds, referer:

Which means Apache, PHP FastCGI Data Timeout Error. So we need to increase the respective value.

1. Login to WHM > Apache Configuration > Include Editor > Post VirtualHost Include > All

2. Copy and paste following code:

<IfModule mod_fcgid.c>
FcgidProcessLifeTime 400
FcgidIOTimeout 400
FcgidConnectTimeout 400
FcgidMaxRequestLen 1000000000

Leave a Reply