#下載httpd wget http://labs.renren.com/apache-mirror/httpd/httpd-2.2.15.tar.gz tar zxf httpd-2.2.15.tar.gz cd httpd-2.2.15 ./configure --prefix=/usr/local/apache make make install cd ..
3.安裝apache的mod_perl模塊
#下載apache的perl模塊 wget http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz tar zxf mod_perl-2.0-current.tar.gz cd mod_perl-2.0.4/ perl Makefile.PLUSE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs EVERYTHING=1 make make install cd ..