Skip to content

Instantly share code, notes, and snippets.

@d4rkstar
Created June 18, 2019 13:08
Show Gist options
  • Save d4rkstar/6c9f8abe7903087b971e57f251dc2e70 to your computer and use it in GitHub Desktop.
Save d4rkstar/6c9f8abe7903087b971e57f251dc2e70 to your computer and use it in GitHub Desktop.
PHP 7.2 configure script
./configure \
--enable-maintainer-zts \
--prefix=/usr/local/php72 \
--with-config-file-scan-dir=/usr/local/php72/etc/conf.d \
--with-pear=/usr/local/php72/lib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-intl \
--enable-exif \
--enable-dba \
--enable-ftp \
--with-gettext \
--with-gd \
--with-freetype-dir=/usr \
--with-xpm-dir=/usr/include/X11 \
--with-webp-dir=/usr/include/webp \
--with-jpeg-dir \
--enable-mbstring \
--with-mhash \
--enable-mysqlnd \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-pgsql \
--with-pdo-pgsql \
--with-openssl \
--with-xsl \
--enable-pcntl \
--with-pspell \
--enable-shmop \
--enable-soap \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--with-zlib \
--enable-zip \
--with-readline \
--with-curl \
--enable-fpm \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--with-fpm-systemd \
--with-sodium \
--with-password-argon2 \
--with-libzip \
--with-pdo-dblib \
--with-imap \
--with-imap-ssl \
--with-kerberos \
--with-gmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment