zabbix准备:php安装

Posted 夏覓

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix准备:php安装相关的知识,希望对你有一定的参考价值。

一.安装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.gz tar 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-mode make && 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 -y
yum install libcurl-devel -y
yum install libjpeg-devel -y
yum install libpng-devel -y
yum install freetype-devel -y

  

  

以上是关于zabbix准备:php安装的主要内容,如果未能解决你的问题,请参考以下文章

CentOS6.8源码安装部署Zabbix3.4.5

php 一个短代码片段准备在WooCommerce Thank You页面上输出货件跟踪UI。

Zabbix的安装与配置

zabbix服务器性能监控工具的安装一

ubuntu1704安装zabbix3.2

zabbix3.0 LNMP安装部署