when installing Apache httpd, you will often encounter:
Configure:error:APR not found. Please read the documentation.
Configure:error:apr-util not found. Please read the documentation.
configure:error:pcre-config for Libpcre not found. PCRE is required and available
There are also articles on the web that guide how to download these dependent files after installation, this article
package All of these dependent files in http://download.csdn.net/detail/kkdelta/4424852.
Place all of the following files in the/ROOT/WKR directory
apr-1.4.6.tar.gz
apr-util-1.4.1.tar.gz
httpd-2.4.2.tar.gz
Pcre-8.30.zip
1, Install Apr:
TAR-ZXVF apr-1.4.6.tar.gz
CD apr-1.4.6
./configure
Make
Make Install
2, install Apr-util
#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
#make
#make Install
3 Installing Pcre
#unzip-o pcre-8.30.zip
#cd pcre-8.30
#./configure--prefix=/usr/local/pcre
#make
#make Install
4 Installing Apache
TAR-XZVF httpd-2.4.2.tar.gz
CD httpd-2.4.2
./configure--prefix=/usr/local/apache/--with-apr=/usr/local/apr--with-apr-util=/usr/local/apr-util-- With-pcre=/usr/local/pcre
#make
#make Install
5 Launch Apache
Cd/usr/local/apache/bin
./apachectl Start
If you need a new version:
http://httpd.apache.org/download.cgi
http://apr.apache.org/download.cgi
http://sourceforge.net/projects/pcre/
Linux Apache Installation