首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

装配apache时的配置

2012-07-15 
安装apache时的配置./configure --prefix/usr/local/apache2 \--enable-so \--enable-auth-digest \--ena

安装apache时的配置

./configure --prefix=/usr/local/apache2 \
--enable-so \
--enable-auth-digest \
--enable-rewrite \
--enable-setenvif \
--enable-mime \
--enable-ssl \
--with-ssl=/usr/local \
--enable-headers \

?--with-apr=/usr/local/apr-httpd/ ?\

?--with-apr-util=/usr/local/apr-util-httpd/

?

?

# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install

# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install

# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/

热点排行