Install the latest version of Lamp

Source: Internet
Author: User

1. Installing apache2.4

Download package Required:

Apache2.4.12.tar.gz

apr-1.52.tar.bz2

apr-util-1.5.4.tar.bz2

Tar zxvf httpd-2.4.12.tar.gz tar jxf apr-1.5.2.tar.bz2 tar jxf apr-util-1.5.4.tar.bz2 mv apr-1.5.2 httpd-2.4.12/srclib/a PR MV apr-util-1.5.4 httpd-2.4.12/srclib/apr-util CD http-2.4.12./configure--prefix=/usr/local/apache2-- WITH-INCLUDED-APR--enable-so--enable-deflate=shared--enable-expires=shared--enable-rewrite=shared--with-pcre Make make install #查看版本/usr/local/apache/bin/httpd-v

2. Installing php5.6

Required Software:

Libiconv-1.13.1.tar.gz

php-5.6.11.tar.bz2

#安装libiconvtar  zxf libiconv-1.13.1.tar.gzcd libiconv-1.13.1./configure --prefix=/usr/local /libiconvmake && make install# installation phptar jxf php-5.6.11.tar.bz2cd  Php-5.6.11./configure --prefix=/usr/local/php5_6  --with-config-file-path=/usr/local/php5_6/etc   --with-apxs2=/usr/local/apache2/bin/apxs --disable-fileinfo --with-mysql=mysqlnd -- With-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv=/usr/local/libiconv--with-freetype-dir  --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml  --disable-rpath --enable-bcmath --enable-shmop --enable-exif --enable-sysvsem -- Enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt  --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl -- Enable-sockets --with-xmlrpc --enable-ftp --with-gettext --enable-soap --disable-ipv6 --disable-debug -- enable-opcache     #加速扩展插件 #yum install libxml2-devel openssl-devel  Curl-devel gd-devel libmcrypt-develmake && make install


3. Install MySQL

This article from the "Shallow faint" blog, please be sure to keep this source http://cuixiang.blog.51cto.com/8204722/1744260

Install the latest version of Lamp

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.