Archive for January, 2012

Apache Server Setup with Mod_Fcgid, PHP5 on CentOS 6

This document explains how to setup Apache web server with mod_fcgid, which is high performance alternative to mod_cgi or mod_cgid, it starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests.

1. Make sure SELinux is disabled before starting

open SELinux configuration on vim editor (/etc/sysconfig/selinux)

vi  /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.

Save the file and reboot the machine
2. Setup EPEL repository as mod_fcgid is not available in default CentOS repository

Continue reading “Apache Server Setup with Mod_Fcgid, PHP5 on CentOS 6” »

Be the first to comment - What do you think?  Posted by Aniruddh - January 1, 2012 at 11:08 pm

Categories: Apache, CentOS   Tags: