Linux下安装apache 提示APR not found 解决方法
推荐方法,注意版本号。
1.下载apr安装包:
http://labs.mop.com/apache-mirror//apr/apr-1.4.6.tar.gz
tar zxvf  apr-1.4.6.tar.gz
cd apr-1.4.6
./configure --prefix=/usr/local/apr
make && make install
2.下载apr-util安装包:
http://labs.mop.com/apache-mirror//apr/apr-util-1.4.1.tar.gz
tar zxvf apr-util-1.4.1.tar.gz
cd apr-util-1.4.1
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config
3.下载pcre安装包:
http://sourceforge.net/projects/pcre/files/pcre/8.30/pcre-8.30.tar.gz/download
tar zxvf pcre-8.30.tar.gz
cd pcre-8.30
./configure --prefix=/usr/local/pcre
make && make install
4.安装httpd包:
http://httpd.apache.org/download.cgi#apache24
tar zxvf httpd-2.4.3.tar.gz
cd httpd-2.4.3
./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre/bin/pcre-config
make && make install
安装完成。

"Linux下配置apache所需文件包.tar.gz"  (包含所有所需文件及安装方法)
        下载地址:  http://vdisk.weibo.com/s/fBS4h

make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs  
解决办法是: http://www.neverkill.com/forum.php?mod=viewthread&tid=22205

httpd: Could not reliably determine the server's fully qualified domain name
   解决办法是: http://www.neverkill.com/forum.php?mod=viewthread&tid=22207

(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
  解决办法是 : http://www.neverkill.com/forum.php?mod=viewthread&tid=22208

相关文章:

  • 2022-12-23
  • 2021-04-23
  • 2022-01-05
  • 2021-08-23
  • 2022-12-23
  • 2021-09-28
  • 2021-10-19
  • 2021-07-30
猜你喜欢
  • 2021-09-25
  • 2022-01-03
  • 2022-12-23
  • 2021-08-08
相关资源
相似解决方案