Apache apr & httpd 源代码安装

源码安装 apr ,apr-util

安装时使用root用户进行。

1、APR的安装

#./configure --prefix=/usr/local/apr
#make
#make install

2、apr-util的安装

#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make 
#make install

源码安装apache

3、httpd的安装

#./configure --prefix=/usr/local/apache \
--with-apr=/usr/local/apr \ --with-apr-util=/usr/local/apr-util \ --enable-dav \ --enable-module=so \ --enable-mods-shared=all #make
#make install

你可能感兴趣的:(Apache apr & httpd 源代码安装)