1.软件准备
http://apache.fayea.com/apache-mirror//apr/apr-1.5.1.tar.gz
http://apache.fayea.com/apache-mirror//apr/apr-util-1.5.4.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gz
2.安装apr
#cd apr-1.5.1
#./configure
#make
#make install
#tar zxvf apr-util-1.5.4.tar.gz
#cd apr-util-1.5.4
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make
#make install
#tar -zxvf pcre-8.34.tar.gz
#cd pcre-8.34
#./configure --prefix=/usr/local/pcre
#make
#make install
安装httpd
./configure --prefix=/usr/local/httpd/ --with-apr-util=/usr/local/apr-util/bin/apu-1-config --with-apr=/usr/local/apr/ --with-pcre=/usr/local/pcre