1. Prepare the appropriate version of the installation package:
The required package Pickup
----------------Link: http://pan.baidu.com/s/1o8HBL0m Password: 0ria-------------------
# Install the Build Environment Package group: Development Tools, Desktop Platform Development
# View Package group: Yum Grouplist
# installation package Group: Yum Groupinstall Development Tools
#Yum groupinstall Desktop Platform Development
#Apr and Apr-util should be in the 1.4 version above
#Pcre installation package
#httpd2.4.x
2. Extract the APR and install
# Tar XF apr-1.4.6.tar.gz# cd apr-1.4.6#./configure--prefix=/usr/local/apr# make && make install
3. Unzip the Apr-util and install
# tar XF 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
4. Unzip the Pcre and install
# tar XF pcre-8.20.tar.bz2 # cd pcre-8.20#./configure--prefix=/usr/local/pcre# make && make install
5. Unzip the HTTPD24 and install
# tar XF httpd-2.4.3.tar.gz # cd Httpd-2.4.3#./configure--prefix=/usr/local/apache--sysconf=/etc/httpd24-- Enable-so--enable-ssl--enable-cgi--enable-rewrite--with-zlib--with-prce=/usr/local/pcre--with-apr=/usr/local/ Apr--with-apr-util=/usr/local/apr-util--enable-modules=most--enable-mpms-shared=all--with-mpm=prefork# make && make Install
6. Common accidents during installation
1) Program dependencies not resolved: Please try to install apr,apr-util,pcre,httpd in turn;
2) The compilation environment is incomplete: Please install development Tools, Desktop Platform Development Package Group, see the first step;
3) The specified path does not exist: determine if the installed path is correct;
4) Dependent program version too old: Update Prompt program
5) ...
This article is from the "11460225" blog, please be sure to keep this source http://11470225.blog.51cto.com/11460225/1857498
httpd2.4+ Version Installation steps