FastCGI timeout

Error:

Connection reset by peer: mod_fcgid: error reading data from FastCGI server. Premature end of script headers: index.php

Fix:

Add this to your PHP vhost configuration:

max_input_time=7200
max_execution_time=7200

Add this to your Apache configuration:

<IfModule mod_fcgid.c>
IdleTimeout 7200
IPCCommTimeout 7200
BusyTimeout 7200
IPCCommTimeout 7200
IPCConnectTimeout 7200
</IfModule>
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp