依赖安装
yum install gcc make autoconf glibc-devel libxml2 libxml2-devel openssl-devel curl-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel
编译
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-curl --with-openssl --with-zlib --enable-bcmath --with-gd --with-mysqli --with-pdo-mysql --with-readline --with-mcrypt --enable-pcntl --enable-soap --enable-sockets
安装
make && make install