Apache has been installed many times, and some errors will occur each time it is installed. Search for errors and follow the solution step by step. Of course, there are some solutions =. =
In this case, record the process, in case there are records of past successes that can be found in the next use, saving your time for searching.
APR not found
# Cd/OPT
# Wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
# Tar-zxf apr-1.4.5.tar.gz
# Cd apr-1.4.5
#./Configure -- prefix =/usr/local/APR
# Make & make install
Apr-util not found
Wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
# Cd/OPT
# Tar-zxf apr-util-1.3.12.tar.gz
# Cd apr-util-1.3.12
#./Configure -- prefix =/usr/local/APR-util -- With-Apr =/usr/local/APR/bin/apr-1-config
# Make & make install
PCRE
# Wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
# Cd/OPT
# Unzip-O pcre-8.10.zip
# Cd pcre-8.10
#./Configure -- prefix =/usr/local/PCRE
G ++: Command not found
# Yum-y install GCC + gcc-C ++
Add the following
-- With-Apr =/usr/local/APR -- With-Apr-util =/usr/local/APR-util -- With-PCRE =/usr/local/PCRE
Record some error solutions during Apache installation