Colleague installs Apache error ERROR:APR not found. Please read the documentation
Apache version httpd-2.4.10.tar.gz
Here's how to fix it:
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
Tar fxz apr-1.4.5.tar.gz
CD apr-1.4.5
./configure--PREFIX=/USR/LOCAL/APR
Make && make install
wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
Tar fxz apr-util-1.3.12.tar.gz
CD apr-util-1.3.12
./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR
Make && make install
wget Http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
Unzip Pcre-8.10.zip
CD pcre-8.10
./configure--prefix=/usr/local/pcre
Make && make install
Tar fxz httpd-2.4.10.tar.gz
CD httpd-2.4.10
./configure--prefix=/usr/local/apache--enable-rewrite--enable-so--with-apr=/usr/local/apr--with-apr-util=/usr/ Local/apr-util--with-pcre=/usr/local/pcre
Make && make install
/usr/local/apache/bin/apachectl Start Apche
See if Port 80 is open
Enter an address in the address bar to see if it is displayed works!
This article is from the "Youth Deng Yong" blog, please be sure to keep this source http://dengyong.blog.51cto.com/8409869/1576531
SOURCE Installation Apache