Thursday, October 21, 2010

Problems solved: PHP execution via fcgid requires the Apache mod_fcgid module

Application : Problems effect after update some patches on Vitualmin GPL

mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, which starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests. It is favored by the PHP developers, for example, as a preferred alternative to running mod_php in-process, delivering very similar performance.

Add this file under conf.d directory: /etc/httpd/conf.d/fcgid.conf

Copy and add this file.

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule !mod_fastcgi.c>

AddHandler fcgid-script fcg fcgi fpl

</IfModule>

SocketPath run/mod_fcgid


SharememPath run/fcgid_shm


Other than that if this solutions  not successful please proceed to download and reinstall mod_fcgid. Please refer guide below
# wget ftp://mirror.switch.ch/pool/1/mirror/epel/5/x86_64/mod_fcgid-2.2-10.el5.x86_64.rpm
# rpm -e –nodeps mod_fcgid
# rpm -Uvh mod_fcgid-2.2-10.el5.x86_64.rpm

Credit to : blog.pnyet.web.id

Related Posts:

0 comments:

Post a Comment