./configure --prefix=/usr/local/php \
--sysconfdir=/etc/php \
--with-config-file-path=/etc/php \
--with-config-file-scan-dir=/etc/php/php.d \
--bindir=/usr/bin \
--docdir=/usr/share/doc \
--sbindir=/usr/sbin \
--libdir=/usr/lib64/php \
--with-libdir=/usr/lib64/php \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--includedir=/usr/include \
--localedir=/usr/local \
--datarootdir=/usr/share \
--datadir=/usr/share/php \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-fpm \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--enable-mysqlnd \
--enable-mysqlnd-compression-support \
--enable-json \
--with-openssl-dir \
--with-zlib-dir \
--with-freetype \
--enable-gd-jis-conv \
--enable-ftp \
--enable-filter \
--enable-fileinfo \
--with-curl \
--with-iconv \
--with-bz2 \
--with-zlib \
--with-zip \
--with-xsl \
--with-jpeg \
--with-webp \
--with-xpm \
--without-iconv \
--with-kerberos \
--with-imap-ssl \
--with-openssl \
--enable-dom \
--with-gettext \
--with-mysqli=mysqlnd \
--enable-pdo \
--with-pdo-mysql=mysqlnd \
--enable-simplexml \
--enable-session \
--enable-sysvsem \
--enable-sysvmsg \
--enable-sockets \
--with-pear \
--with-xmlrpc \
--with-mhash \
--enable-bcmath \
--with-cdb \
--enable-exif \
--with-gmp \
--enable-mbstring \
--enable-mbregex \
--with-readline \
--enable-shmop \
--enable-soap \
--enable-sockets \
--enable-pcntl \
--enable-intl \
--enable-re2c-cgoto \
--with-libedit