Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VPS with CENTOS 5.7 . We are using Apache 2.2.22 and mod_fcgi is supposed to be running according to WHM.

  1. I did a httpd -l and mod_fcgid.c was not listed there.

  2. I checked the httpd.conf file and /usr/local/apache/conf/php.conf is included.

  3. I also checked that php.conf file and LoadModule fcgid_module modules/ is there, so I think it should be enabled.

When I try to configure mod_fcgid with parameters like

MaxRequestsPerProcess 500
MaxProcessCount 5 

I write them in the php.conf file and there is no change at all, I have more than 5 php processes in top. Maybe I don't understand how mod_fcgi works ?

How can I check if mod_fcgid is enabled and how can I test it ?

share|improve this question
up vote 1 down vote accepted

Run apachectl -t -D DUMP_MODULES to show the modules in the currently running configuration.

Note that mod_fcgid isn't in a standard CentOS 5 package. Instead of compiling it youself, you should enable the karan repo, and install it from there using yum:

The RPM itself can be found at:

but, as said, you should install via yum and let it satisfy dependencies.

Here are some instructions I found:

I haven't tested them, but, on the face of it, they look like they should work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.