cPanel: Apache-FastCGI Data Timeout Error

If you're using a cPanel server and have FastCGI enabled in Apache, you would possibly be facing the subsequent error that caused your web site to hold or showing ’500 Internal Server Error’ message. once checking the error log '/usr/local/apache/logs/error_log, you'll see one thing similar as below:

[warn] .. mod_fcgid: read data timeout in 40 seconds,

[error] .. Premature end of script headers: index.php 

 

This is because mod_fcgid has reached the timeout in processing the parse data. So we need to increase some of the respective value:

 

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

 

2. Copy and paste the following code:

 

<IfModule mod_fcgid.c>

 FcgidProcessLifeTime 8200

 FcgidIOTimeout 8200

 FcgidConnectTimeout 400

 FcgidMaxRequestLen 1000000000

 </IfModule>

 

3. You will need to restart Apache after that. Your FastCGI timeout will be changed to 400 seconds. You can change the timeout according to the requirement. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

DDOS and DNS A Records Need Why ?

It is required that all DDOS shared hosting clients use Rivalhost Global Protected Name-servers...

Can you change my PHP version?

All new shared hosting accounts are created on a server which runs php version 5.3.x or higher We...

Do you host adult sites or content?

Yes we have Offshore Server also Offshore/ anonymous location . you can host / or runs any type...

Can I have multiple domains point to the same website?

Yes. These are commonly referred to as "parked domains" and allow you to have multiple domain...

How long does it take for my account to be setup?

Generally, it will not take more than 24 hours for us to setup your account, unless we have...