httpd2.4+ Version Installation steps

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.