mod_fcgid与mod_fastcgi二进制兼容,并用以替代mod_fastcgi, 而mod_fastcgi早已停止更新,且针对Apache2还需要额外的补丁。
1, 安装Apache2
wget httpd.tar.gz
tar xvzf httpd.tar.gz
cd httpd
./configure --prefix=/opt/apache2
make
make install
2, 安装mod_fcgid
wget http://apache.etoak.com//httpd/mod_fcgid/mod_fcgid-2.3.6.tar.gz
tar xvzf mod_fcgid-2.3.6.tar.gz
cd mod_fcgid-2.3.6
APXS=/opt/apache2/bin/apxs ./configure.apxs
make
make install