Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
I php build config
curl -SL "" -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 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment