How to install mod_fastcgi on CentOS 4.x

Posted by Michael Wed, 08 Feb 2006 21:11:54 GMT

We’ll assume apache2 is installed via rpm/yum.

$yum install httpd-devel
$wget http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz
$tar -xzvf mod_fastcgi-2.4.2.tar.gz
$cd mod_fastcgi-2.4.2
$cp Makefile.AP2 Makefile
edit Makefile and change
top_dir = /usr/local/apache2
to
top_dir = /usr/lib/httpd

Then it’s:

$make
$make install

Add to your httpd.conf (it’s in /etc/httpd/conf):

LoadModule fastcgi_module modules/mod_fastcgi.so

Restart apache. That’s it!

Posted in  | no comments

Comments

Comments are disabled