How To Install mod_fcgid.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mod_fcgid.x86_64 in Amazon Linux 2. mod_fcgid.x86_64 is FastCGI interface module for Apache 2

Introduction

In this tutorial we learn how to install mod_fcgid.x86_64 on Amazon Linux 2.

What is mod_fcgid.x86_64

mod_fcgid is a binary-compatible alternative to the Apache module mod_fastcgi. mod_fcgid has a new process management strategy, which concentrates on reducing the number of fastcgi servers, and kicking out corrupt fastcgi servers as soon as possible.

We can use yum to install mod_fcgid.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mod_fcgid.x86_64.

Install mod_fcgid.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mod_fcgid.x86_64 using yum by running the following command:

sudo yum -y install mod_fcgid.x86_64

How To Uninstall mod_fcgid.x86_64 on Amazon Linux 2

To uninstall only the mod_fcgid.x86_64 package we can use the following command:

sudo yum remove mod_fcgid.x86_64

mod_fcgid.x86_64 Package Contents on Amazon Linux 2

/etc/httpd/conf.d/fcgid.conf
/etc/httpd/conf.modules.d/10-fcgid.conf
/run/mod_fcgid
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en

References

Summary

In this tutorial we learn how to install mod_fcgid.x86_64 on Amazon Linux 2 using yum.