Lamp compilation and Installation

Source: Internet
Author: User

1. Install httpd> mysql> php> xcache. First, Apache httpd universal binary installation.

1. source code package.

Apr-1.5.1.tar.gz # Apache Portable Runtime compatible program for different operating systems

Apr-util-1.5.3.tar.gz

Httpd-2.4.9.tar.gz

2. Start installation.

[[Email protected] ~] # Yum-y groupinstall "development tools" # Install the development tool [[email protected] ~] # Yum-y groupinstall "additional development" [[email protected] ~] # Tar-zxvf apr-1.5.1.tar.gz [[email protected] ~] # Cd apr-1.5.1 [[email protected] apr-1.5.1] #. /configure -- prefix =/usr/local/APR [[email protected] apr-1.5.1] # Make [[email protected] apr-1.5.1] # make install [[email protected] ~] # Tar-zxvf apr-util-1.5.3.tar.gz [[email protected] ~] # Cd apr-util-1.5.3 [[email protected] apr-util-1.5.3] #. /configure -- prefix =/usr/local/APR-util -- With-Apr =/usr/local/APR [[email protected] apr-util-1.5.3] # Make [[email protected] apr-util-1.5.3] # Make install [[email protected] ~] # Tar-zxvf httpd-2.4.9.tar.gz [[email protected] ~] # Cd httpd-2.4.9 [[email protected] httpd-2.4.9] #. /configure -- prefix =/usr/local/Apache -- sysconfdir =/etc/httpd -- enable-so -- enable-Rewrite -- enable-SSL -- enable-CGI -- enable-cgid -- enable -mod-shared = most -- enable-MPMs-shared = all -- With-Apr =/usr/local/APR -- With-Apr-util =/usr/local/APR-utilconfigure: error: PCRE-config for libpcre not found. PCRE is required and available from [[email protected] httpd-2.4.9] # Yum-y install PCRE-devel # Install missing dependency packages [[email protected] httpd-2.4.9] # Make [[email protected] httpd-2.4.9] # make install


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.