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

Overview

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

Usage

Warnings:

  • You cannot use the FastCGI daemon (FCGId) with MultiPHP.
  • We only recommend the mod_fcgid Apache module for advanced system administrators who understand how to modify the performance of the mod_fcgid Apache module.
  • Your PHP applications must support the FastCGI protocol.

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 without a PHP-FPM implementation. 

Requirements

This module does not possess any requirements.

Compatibility

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.

    Warning:

    On MultiPHP systems, 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 version 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 uses PHP 7.1 and FCGId. 

How to install or uninstall mod_fcgid

You must configure the Experimental Repository to install this module.

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