One of the lamp series interoperability between Apache server, MySQL server and PHP server

Source: Internet
Author: User
Tags php server php programming php programming language

First, Lamp introduction

LAMP (linux-apache-mysql-php) website architecture is a popular web framework, consisting of: Linux operating system, Apache network server, MySQL database, PHP programming language, all components are open source software, is a popular and mature architecture framework in the world, and many popular commercial applications have adopted this architecture.

Lamp has a common, cross-platform, high-performance, low-cost advantages, so lamp whether it is performance, quality or price is the preferred platform for enterprises to build websites.

Second, the relevant instructions

   1, this article (LAMPseries) mainly introduces the building of the whole platform architecture:Apache2.4.9the compilation installation,mysql-5.5.33the installation,php-5.4.26installation, as well as the interconnection of the entire platform, the second chapter will introduce theLAMPof thePHPAcceleration SoftwareXCacheinstallation and performance testing, and the third article will introduce theLAMPtheApacheUseDNSachieve load balancing.

2, for the real implementation, the simulation environment will use 3 servers, Apache server, PHP server and MySQL database server

3, about IP:Apache(172.16.22.100), PHP ( 172.16.22.101 ), Mysql ( 172.16.22.102 )

4, about the construction of the DNS server this article does not do a detailed, but instead of using the change Hosts file to do name resolution

650) this.width=650; "Width=" 594 "height=" 454 "title=" Image001.png "style=" Width:733px;height:342px;float:none; "alt = "Wkiom1psvcex3iypaae7n0rvcrc085.jpg" src= "Http://s3.51cto.com/wyfs02/M02/45/DE/wKiom1Psvcex3IypAAE7n0RVCRc085.jpg"/>

Third, the compilation and installation of Apache2.4.9

1. Solve the dependency relationship

httpd-2.4.9 requires a newer version of APR and Apr-util, so it needs to be upgraded beforehand. In advance we should also install the development package group and Pcre.

This article is from the "Gentoo" blog, be sure to keep this source http://linuxgentoo.blog.51cto.com/7678232/1540191

Related Article

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.