標籤:local zab 4.0 過程 png mcrypt releases cal net
一.安裝php依賴庫
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
二.安裝php
wget http://cn2.php.net/distributions/php-5.6.31.tar.gz
configure過程中各種糟心,缺少各種xx.h檔案或者各種xx未聲明,一般都是缺少開發庫
yum install libxml2-devel -yyum install libcurl-devel -yyum install libjpeg-devel -yyum install libpng-devel -yyum install freetype-devel -y
zabbix準備:php安裝