I. Installing a PHP dependent library
Ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz
Yum Install Python-devel-y
Cd/download/wget-c Ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gztar XF libxml2-2.9.3.tar.gz-c tmp/cd tmp/ Libxml2-2.9.3/./configure--prefix=/usr/local/services/make && make install
Https://curl.haxx.se/download/curl-7.44.0.tar.gz
Tar XF curl-7.44.0.tar.gz-c tmp/cd tmp/curl-7.44.0/./configure--prefix=/usr/local/services/make && make Install
Http://www.ijg.org/files/jpegsrc.v9a.tar.gz
Tar XF jpegsrc.v9a.tar.gz-c tmp/cd tmp/jpeg-9a/./configure--prefix=/usr/local/services/make && make install
Ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.28.tar.gz
Http://download.sourceforge.net/libpng/libpng-1.6.2.tar.gz
Tar XF libpng-1.6.2.tar.gz-c tmp/cd tmp/libpng-1.6.2/./configure--prefix=/usr/local/services/make && make Install
Http://download.savannah.gnu.org/releases/freetype/freetype-2.6.5.tar.gz
Http://download.chinaunix.net/down.php?id=35028&ResourceID=3295&site=1
Tar XF freetype-2.4.3.tar.bz2-c tmp/cd tmp/freetype-2.4.3/./configure--prefix=/usr/local/services/make && Make install
Https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
Http://download.chinaunix.net/down.php?id=45065&ResourceID=5804&site=1
Tar XF libevent-2.0.21-stable.tar.gz-c tmp/cd tmp/libevent-2.0.21-stable/./configure--prefix=/usr/local/services/- -disable-debug-modemake && make Install
Https://github.com/skvadrik/re2c/releases/download/0.16/re2c-0.16.tar.gz
Http://download.chinaunix.net/down.php?id=45065&ResourceID=5804&site=1
Tar XF re2c-0.16.tar.gz-c tmp/cd tmp/re2c-0.16/./configure--prefix=/usr/local/services/make && make install
Ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
Tar XF libmcrypt-2.5.7.tar.gz-c tmp/cd tmp/libmcrypt-2.5.7/./configure--prefix=/usr/local/services/make && Make install
Two. Install PHP
wget http://cn2.php.net/distributions/php-5.6.31.tar.gz
Configure the process of various dejected, lack of various xx.h files or a variety of XX not declared, is generally missing the development library
Yum Install Libxml2-devel-yyum install Libcurl-devel-yyum install Libjpeg-devel-yyum install Libpng-devel-yyum Install Freetype-devel-y
Zabbix Preparation: PHP Installation