wget [url]http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz[/url]* m! N P% O7 {4 s5 g, q
tar -zxvf mod_fastcgi-current.tar.gz5 y, Z: `1 ?; B- {
cd mod_fastcgi-2.4.63 K$ m* y& M; t. Q
cp Makefile.AP2 Makefile - y7 K @; z3 P1 f
make top_dir=/usr/lib64/httpd #我的主機是64bit . y8 v1 K P8 ?9 w8 `
make install
複製代碼
當執行至 make top_dir=/usr/lib64/httpd 時出現錯誤 : No rule to make target '/usr/lib64/httpd/build/special.mk' ,原因是缺少套件「libtool」「httpd-devel」「apr-devel」及「apr」,於是 " i/ V* q- p' F2 G- u0 Q! E
yum install libtool httpd-devel apr apr-devel
複製代碼
再執行一次8 Y Z8 a& I- Y2 j
make top_dir=/usr/lib64/httpd # D& ~1 u$ J# z' U/ X5 N