源码安装apache

tar jxvf  

cd httpd

./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite

注解:

--enable-so:让apache核心装载DSO

make && make install

cd /usr/local/apache/bin 

cp -p  /usr/local/apache/conf/httpd.conf /etc/httpd.conf

./apachectl start

posted @ 2013-02-23 15:36  ..空白  阅读(88)  评论(0)    收藏  举报