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