作者:林群东耀禎逸群 | 来源:互联网 | 2014-05-20 09:19
centos下编译安装apache安装apache选择性的安装模块,安装语句如下:./configure--prefix/usr/local/apache--enable-so--enable-http--enable-ssl--enable-rewrite--enable-expires--enable-defl..
centos下编译安装apache
安装apache选择性的安装模块,安装语句如下:
./configure --prefix=/usr/local/apache --enable-so --enable-http --enable-ssl --enable-rewrite --enable-expires --enable-deflate
出现错误:configure: error: APR not found. Please read the documentation
安装apr
去http://apr.apache.org/download.cgi
下载apr进行安装
继续报错:configure: error: APR-util not found. Please read the documentation
安装APR 去http://apr.apache.org/download.cgi下载apr-util-1.5.1.tar.gz编译安装它
搞定收工