一、部署需要软件1、php-5.6.1.tar.gz
2、httpd-2.2.29.tar.g apr-1.5.2.tar.gz apr-util-1.5.4.tar.gz
3、zabbix-2.4.5.tar.gz
4、mysql已经编译安装好了
二、系统版本[root@dcs2 etc]# cat /etc/issue
CentOS release 6.6 (Final)[root@dc2 etc]# uname -r
2.6.32-358.18.1.el6.x86_64
三、编译用到参数# yum -y groupinstall "Desktop Platform Development"
# yum -y install bzip2-devel libmcrypt-devel
#yum install bzip2-devel curl-devel db4-devel libjpeg-devel libpng-devel libXpm-devel gmp-devel libc-client-devel openldap-devel unixODBC-devel net-snmp-devel mysql-devel sqlite-devel aspell-devel libxml2-devel libxslt-devel libxslt-devel
其他依赖安装包,看具体编译yum,最好就谷歌
1、编译php./configure --prefix=/usr/local/php5.6 --with-apxs2=/usr/local/apache2/bin/apxs --enable-bcmath --enable-sockets --with-libxml-dir --with-zlib --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-freetype-dir --with-gettext --enable-mbstring --with-mcrypt --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql/bin/mysql_config --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-zip --with-bz2 --enable-soap --with-pear --with-pcre-dir --with-openssl --with-config-file-path=/usr/local/php5.6/etc --enable-shmop --enable-intl
四、改配置php.ini文件date.timezone = Asia/Shanghai
max_execution_time= 300
post_max_size = 32M
max_input_time = 300
memory_limit = 128M
mbstring.func_overload =2
五、问题来了