httpd apache linux安装

configure: error: APR not found. Please read the documentation.

安装 apr 和 apr-util  

configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/

安装 pcre,如果出错先安装  yum install gcc-c++ 

安装的时候记下安装的目录 --prefix= …… 后面有用

./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util  --with-pcre=/usr/local/pcre

猜你喜欢

转载自yingpengfei1215.iteye.com/blog/1832579