ObjectiveLAMP refers to a set of free software names that are typically used together to run dynamic Web sites or servers.L:linux Operating SystemA:apache (httpd) Web ServicesM:mysql (MARIADB) database serviceP:php/perl/python/ruby Script
Demand:Cenos 6 platform to build lamp, where PHP works as a standalone service(1) The three are separated from two main units(2) A virtual host is used to provide phpmyadmin; Another virtual host provides WordPress(3) Install the cache to provide
First, package and installation environment preparation1. Program version:Apr-1.5.0.tar.bz2apr-util-1.5.3.tar.bz2httpd-2.4.10.tar.bz2mariadb-5.5.43-linux-x86_64. Tar.gzphp-5.6.4.tar.xzphpmyadmin-4.0.5-all-languages.zipdiscuz_x3.2_sc_gbk.zip2, ready
#!/bin/bash#20150730 by wyw path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~ /binexport path# check if user is rootif [ $ (id -u) != "0" ]; then echo "error: you must be root to" run this script, please use root to install
#!/bin/bashread -p "The script will be installlamp,if you want to CONTINUE,PRESSYES&NBSP: " pressif [ $press == yes ];then echo "lamp (mysql-5.6.24,httpd-2.4.12,php-5.6.10) will be install in aminute ..." Sleep 10 check_ok ()
The PHP version that comes with OSXYosemite10.10.3 is 5.5.20. thanks to the tossing spirit and the controllability of the installation details, the author adds a new version of PHP 5.6.8 to the system by compiling and installing it, some common
PHP + FastCGI + Nginx configure the PHP runtime environment, fastcgingruntime. PHP + FastCGI + Nginx configure the PHP runtime environment. fastcginginxCGI is called CommonGatewayInterface (public Gateway Interface) in English and serves as a bridge
It is not officially recommended that you apply NonThreadSafe to the production environment, so we will use the ThreadSafe version of PHP.
1. Download PHPThere are many php download versions, among which,
Vc9 = vs2008 Compilation. we recommend that
OS X Yosemite 10.10.3 comes with a PHP version of 5.5.20, holding the spirit of tossing and the control of the installation details, the author by compiling the installation of the system to add a new version of the current 5.6.8 Versions of PHP,
Install Apache2.4.9 CentOSApache with the source code in CentOS7
First blog posting
1. prepare the environment
Centos7 minimal installation
Install wget, vim, gcc, gcc-c ++, and cmake in yum.
2. install apache2.4.9
Download the source code package:
Lamp platform Construction and its principle explanationLamp Platform Building Foundation Concept
lamp: Mentioned lamp Many people will think that lamp is Linux, apache,mysql,php. But with
The CGI English is all called Common Gateway Interface (Public Gateway Interface), is the Nginx and the dynamic Script program bridge, Nginx sends the dynamic request through the FastCGI interface to FastCGI, The wrapper process in fastcgi generates
One, HTTP: Install(1) Compile and install Apr# Tar XF apr-1.4.6.tar.bz2# CD apr-1.4.6#./configure--PREFIX=/USR/LOCAL/APR# Make && make install(2) Compile and install Apr-util# Tar XF apr-util-1.5.2.tar.bz2# CD apr-util-1.5.2#./configure--prefix=/usr/
1 , download the required packages According to the official website, installation of apache2.4.9 must first install APR, Apr-util, Pcre packageThe following requirements exist for building Apache HTTPD:APR and apr-utilmake sure we have APR and
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.