You can find our user documentation at

Check out our new API beta site!

Page tree
Skip to end of metadata
Go to start of metadata


The mod_fcgid Apache module provides an alternative module to the mod_cgi Apache module. 



  • You cannot use the FastCGI daemon (FCGId) with MultiPHP prior to cPanel & WHM version 74.
  • EasyApache 4 migrations only migrate FCGId on systems that run cPanel & WHM version 76. In earlier versions, you must install the Apache mod_fcgid module independently.
  • We only recommend the mod_fcgid Apache module for advanced system administrators who understand how to modify the module's performance.
  • On systems prior to cPanel & WHM version 78, if your default PHP version uses FCGId, then all PHP versions will use FCGId.

FCGId serves PHP applications through the mod_fcgid Apache module. This module launches multiple instances of a program to enable the system to handle multiple concurrent requests.  EasyApache 4 supports FCGId on system without a PHP-FPM implementation. 


This module does not possess any requirements.


You can only use the mod_fcgid Apache module with cPanel & WHM version 62 or later. 

You cannot use the mod_fcgid Apache module with the following features:

  • The  mod_ruid2 Apache module
  • The  mod_mpm_itk Apache module.
  • MultiPHP systems prior to cPanel & WHM version 74.


    On MultiPHP systems that run cPanel & WHM versions 62 through 76, this module possesses the following limitations:

    • If you set FCGId as the default PHP version's handler, then all hosts that run on the server will use that version of PHP and will use FCGId. 
    • If you set an account's primary domain to use FCGId, any domain with a document root that exists in the same path will also use that version of PHP and FCGId.
    • If you set multiple versions of PHP to use FCGId, the system overrides all other PHPs and uses the last configured version. For example, if PHP 5.6 already uses FCGId, and then you also configure PHP 7.1 to use FCGId, any host that runs PHP 5.6 and FCGId will use PHP 7.1 and FCGId. 

How to install or uninstall mod_fcgid

In the interface

Install or uninstall the mod_fcgid Apache module with WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4)

On the command line

To install the mod_fcgid Apache module in EasyApache 4, run the following command:

yum install ea-apache24-mod_fcgid

To uninstall the mod_fcgid Apache module in EasyApache 4, run the following command:

 yum remove ea-apache24-mod_fcgid

Additional documentation

There is no content with the specified labels

Error rendering macro 'contentbylabel'

parameters should not be empty

There is no content with the specified labels