Pages

Saturday, November 24, 2012

FastCGI with Apache2.2


Install FastCGI (FCGI) on RHEL5 / Oracle Linux 5


1. Install httpd rpm along with dependencies. The following packages (and any dependencies) will have to be installed:

apr
postgresql-libs
apr-util
httpd

2. Install the following additional packages to build and install fcgi module:
expat-devel
cyrus-sasl-devel
openldap-devel

db4-devel
httpd-devel (this package will install the required /usr/lib64/httpd/build/special.mk and also installs a useful apxs utility)

3. Untar mod_fcgi 2.4.6 in /root
make top_dir=/usr/lib64/httpd
make top_dir=/usr/lib64/httpd install


Debugging
If you encounter:
Missing /usr/lib64/httpd/build/special.mk
Ensure that httpd-devel was installed:
rpm -qa|grep httpd-devel

No comments:

Post a Comment