wget [url]http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz[/url]; u# t" H8 ]9 x# M1 F
tar -zxvf mod_fastcgi-current.tar.gz5 U9 z7 @# U9 B& c
cd mod_fastcgi-2.4.6 ( o( H3 f- b. x1 k
cp Makefile.AP2 Makefile) j7 R- {& K" Q8 H& D1 W, y* T. Y
make top_dir=/usr/lib64/httpd #我的主機是64bit 0 E- _2 c3 ~$ [6 n4 y
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」,於是& n3 J5 r0 x6 o' ~. Z
yum install libtool httpd-devel apr apr-devel
複製代碼
再執行一次! M8 F, k, H9 ?% a. ^4 j
make top_dir=/usr/lib64/httpd i) x8 e$ k( M6 T' U8 A' s Y