Last active
December 16, 2017 14:57
-
-
Save Kuri-su/c715f42a5744a8ebe6a092c9984725f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--prefix=/usr/local/php72 \ | |
--sysconfdir=/etc/php72 \ | |
--with-config-file-path=/etc/php72 \ | |
--with-config-file-scan-dir=/etc/php72/php-fpm.d \ | |
--with-fpm-user=www \ | |
--with-fpm-group=www \ | |
--with-curl \ | |
--with-mhash \ | |
--with-gd \ | |
--with-gmp \ | |
--with-bz2 \ | |
--with-recode \ | |
--with-readline \ | |
--with-gettext \ | |
--with-mysqli=mysqlnd \ | |
--with-pdo-mysql=mysqlnd \ | |
--with-openssl=/usr/local/openssl \ | |
--with-openssl-dir=/usr/local/openssl \ | |
--with-pcre-regex=/usr/local/pcre \ | |
--with-pcre-dir=/usr/local/pcre \ | |
--with-zlib=/usr/local/zlib \ | |
--with-zlib-dir=/usr/local/zlib \ | |
--with-iconv-dir=/usr/local/libiconv \ | |
--with-libxml-dir=/usr \ | |
--with-libzip=/usr \ | |
--with-gd=/usr/local/libgd \ | |
--with-jpeg-dir=/usr \ | |
--with-png-dir=/usr \ | |
--with-webp-dir=/usr \ | |
--with-xpm-dir=/usr \ | |
--with-freetype-dir=/usr \ | |
--enable-fpm \ | |
--enable-ftp \ | |
--enable-gd-jis-conv \ | |
--enable-calendar \ | |
--enable-exif \ | |
--enable-pcntl \ | |
--enable-soap \ | |
--enable-shmop \ | |
--enable-sysvmsg \ | |
--enable-sysvsem \ | |
--enable-sysvshm \ | |
--enable-wddx \ | |
--enable-inline-optimization \ | |
--enable-bcmath \ | |
--enable-mbstring \ | |
--enable-mbregex \ | |
--enable-re2c-cgoto \ | |
--enable-xml \ | |
--enable-mysqlnd \ | |
--enable-maintainer-zts \ | |
--enable-embedded-mysqli \ | |
--enable-opcache \ | |
--disable-fileinfo \ | |
--disable-debug | |
make -j && make install | |
ln -sf /usr/local/php72/bin/php /usr/bin/php | |
ln -sf /usr/local/php72/bin/phpize /usr/bin/phpize | |
ln -sf /usr/local/php72/sbin/php-fpm /usr/bin/php-fpm | |
cp -v php.ini-production /etc/php71/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment