Skip to content

Instantly share code, notes, and snippets.

@firstred
Created September 22, 2015 19:33
Show Gist options
  • Select an option

  • Save firstred/4efe7da606c9517dfedb to your computer and use it in GitHub Desktop.

Select an option

Save firstred/4efe7da606c9517dfedb to your computer and use it in GitHub Desktop.
PHP 7 compile conf for Ubuntu 14.04
./configure \
--prefix=/etc/php7 \
--with-config-file-path=/etc/php7/conf.d \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-opcache \
--enable-fpm \
--enable-wddx \
--with-curl \
--with-mcrypt \
--with-iconv \
--with-gmp \
--with-pspell \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-xpm-dir=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-openssl \
--with-mysql=/usr \
--with-pdo-mysql=/usr \
--with-gettext=/usr \
--with-zlib=/usr \
--with-bz2=/usr \
--with-recode=/usr \
--with-mysqli=/usr/bin/mysql_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment