Created
March 7, 2019 10:54
-
-
Save blue-bird1/1d4d2d0594ee8ac336cc5dc8528750b3 to your computer and use it in GitHub Desktop.
I php build config
This file contains hidden or 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
curl -SL "http://php.net/get/php-7.3.0.tar.xz/from/this/mirror" -o php.tar.xz | |
tar -xf php.tar.xz | |
cd php-7.3.0/ | |
apt-get install -y libmcrypt-dev libicu-dev ca-certificates curl librecode0 libsqlite3-0 libxml2 autoconf file g++ gcc libc-dev make pkg-config re2c libpcre3-dev libcurl4-openssl-dev libreadline6-dev librecode-dev libsqlite3-dev libssl-dev libxml2-dev xz-utils bison libcurl-openssl1.0-dev | |
./configure --prefix /opt/php --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php/conf.d --enable-pdo=shared --enable-mysqlnd --with-pdo-sqlite=shared --with-sqlite3=shared --with-pdo-mysql=shared,mysqlnd --enable-intl=shared --sysconfdir=/etc --datadir=/usr/share/php --with-openssl --with-zlib --enable-bcmath --enable-calendar --enable-exif \ | |
--enable-ftp \ | |
--with-gettext \ | |
--enable-mbstring \ | |
--enable-pcntl \ | |
--enable-sockets \ | |
--enable-soap \ | |
--enable-zip \ | |
--with-iconv \ | |
--with-curl=shared |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment