Skip to content

Instantly share code, notes, and snippets.

@marcelaraujo
Created April 14, 2014 01:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelaraujo/10610377 to your computer and use it in GitHub Desktop.
Save marcelaraujo/10610377 to your computer and use it in GitHub Desktop.
PHP Build compile
./configure \
--prefix=/usr/local \
--disable-debug \
--enable-pdo \
--enable-inline-optimization \
--enable-xml \
--enable-fpm \
--enable-ftp \
--enable-gd-jis-conv \
--enable-intl \
--enable-mbstring \
--enable-pcntl \
--enable-soap \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvshm \
--enable-maintainer-zts \
--enable-calendar \
--enable-bcmath \
--enable-exif \
--enable-zip \
--enable-gd-native-ttf \
--enable-shmop \
--with-config-file-path=/etc/php \
--with-config-file-scan-dir=/etc/php/conf.d \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--with-libdir=lib \
--with-pcre-regex=/usr/include \
--with-layout=PHP \
--with-openssl \
--with-kerberos \
--with-curl \
--with-png-dir=/usr/local/lib/ \
--with-t1lib \
--with-gmp \
--with-mhash \
--with-mcrypt \
--with-imap \
--with-imap-ssl \
--with-pear \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-libedit \
--with-snmp \
--with-zlib \
--with-bz2 \
--with-iconv \
--with-icu-dir=/usr \
--with-gettext \
--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 \
--with-libxml-dir=/usr \
--with-xmlrpc \
--with-xsl \
--with-tidy=/usr \
--with-readline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment