Categories: Webmaster

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!

This post was last modified on 19/05/2015 9:04 pm

Michalis Michailidis

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

Share
Published by
Michalis Michailidis

Recent Posts

How to easily find infected/hacked files from the command line

This short guide will help you find potentially hacked files easily and fast, via linux… Read More

24/11/2018

Roundcube emails not showing after migration

A common problem, especially after migrating to a different system (for example from Plesk to… Read More

24/11/2018

Outgoing email problem -> 550 Access denied – Invalid HELO name

550 Access denied - Invalid HELO name (See RFC5321 4.1.1.1) is a very common problem… Read More

29/06/2018

Email delivery issue 550-5.7.1 not meet IPv6 guidelines

A usual email rejection message is becoming more and more frequent. Our system has detected… Read More

12/06/2018

Security alert – PHPMailer Exploit [Critical] temporary fix

A very serious exploit was discovered recently. It affects the most used mailing script in… Read More

30/12/2016

“Startups” – once an opportunity, now a plague…

A few years ago the word "Startup" was not known. If you had an idea… Read More

10/07/2016