How to deal with mod_fcgid timeout in WHM/cPanel

Using FastCGI has many advantages over DSO or SuPHP, but can become very annoying if you don’t have a lot of experience to configure it correctly.

The most common problem with mod_fcgid is the timeout error. Some people try for hours without success to resolve this, by editing the PHP configuration and can’t understand why it is timing out despite the Timeout is set high enough.

In order to change the default Timeout value for mod_fcgid you have to follow the steps below:

  1. Login to WHM
  2. Go to Service Configuration -> Apache Configuration
  3. Select Include Editor
  4. At PreVirtualHost Include select “All Versions”
  5. At the text field write (you can change the timeout value with anything that suits your needs)
    <IfModule mod_fcgid.c>
    FcgidIOTimeout  360
    </IfModule>
  6. Save
  7. Restart Apache from Restart Services menu

 

Now the mod_fcgid timeout error is gone!

Master of SEO, server management specialist, guru of web development. A living legend.

Leave a Reply

Next ArticleTroubleshoot CS Cart blank page