php多版本安装继续安装php7.0.3

1、下载php7.0.3源码安装

2、编译安装php7.0.3

./configure --prefix=/data/webserver/php703 --with-config-file-path=/data/webserver/php703/etc --with-config-file-scan-dir=/data/webserver/php703/conf.d --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir --with-freetype-dir=/usr/local/freetype --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --enable-intl --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --with-gettext --disable-fileinfo --enable-opcache --with-xsl

原文地址:https://www.cnblogs.com/showker/p/12097493.html