php7-编译安装参数

./configure
--with-fpm-user=www
--with-fpm-group=www
--prefix=/usr/local/php7
--with-config-file-path=/usr/local/php7/etc
--with-mysql-sock
--with-mysqli
--with-libxml-dir
--with-openssl
--with-mcrypt=/usr/local/libmcrypt
--with-mhash
--with-pcre-regex
--with-zlib
--with-iconv
--with-bz2
--with-curl
--with-cdb
--with-pcre-dir
--with-gd
--with-openssl-dir
--with-jpeg-dir
--with-png-dir
--with-zlib-dir
--with-freetype-dir
--with-gettext
--with-gmp
--with-mhash
--with-libmbfl
--with-onig
--with-pdo-mysql
--with-zlib-dir
--with-readline
--with-libxml-dir
--with-xsl --with-pear
--enable-fpm
--enable-soap
--enable-bcmath
--enable-calendar
--enable-dom
--enable-exif
--enable-fileinfo
--enable-filter
--enable-ftp
--enable-gd-native-ttf
--enable-gd-jis-conv
--enable-json
--enable-mbstring
--enable-mbregex
--enable-mbregex-backtrack
--enable-pdo
--enable-session
--enable-shmop
--enable-simplexml
--enable-sockets
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm
--enable-wddx
--enable-zip
--enable-mysqlnd-compression-support
--enable-pcntl
--without-gdbm
--enable-opcache

原文地址:https://www.cnblogs.com/ralphdc/p/10148530.html