重置Apache

 
  1. sudo ./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --host=amd64  
  2. make & make install
  3. cp /usr/local/apache2/conf/httpd.conf /etc/apache2/httpd.conf
  4. sudo apachectl restart
 
2、安裝apr,apr-util
 
1
cd /usr/local/

 

 

 

 

 下載apr 和 apr-util最新版

 

 

 

2  解壓文件

 

1
2
3
tar -zxvf apr-1.5.0.tar.gz
 
tar -zxvf aor-util-1.5.3.tar.gz

 

 

 

3 安裝aprapr-util

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cd apr-1.5.0
 
./configure --prefix=/usr/local/apr
 
make
 
make install
 
cd ..
 
cd apr-util-1.5.3
 
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
 
make
 
make insatll

 

發佈了51 篇原創文章 · 獲贊 3 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章