Skip to content

Instantly share code, notes, and snippets.

@kamermans
Created September 29, 2013 01:09
Show Gist options
  • Select an option

  • Save kamermans/6748283 to your computer and use it in GitHub Desktop.

Select an option

Save kamermans/6748283 to your computer and use it in GitHub Desktop.
Ubuntu 12.04.4 LTS, PHP 5.5.4 w/pthreads configure script
#!/bin/sh
./configure \
--prefix=/usr \
--with-apxs2=/usr/bin/apxs2 \
--with-config-file-path=/etc/php5/apache2 \
--with-config-file-scan-dir=/etc/php5/apache2/conf.d \
--build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--disable-debug \
--with-regex=php \
--disable-rpath \
--disable-static \
--with-pic \
--with-layout=GNU \
--with-pear=/usr/share/php \
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-iconv \
--enable-exif \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--enable-shmop \
--enable-sockets \
--enable-wddx \
--with-libxml-dir=/usr \
--with-zlib \
--with-kerberos=/usr \
--with-openssl \
--enable-soap \
--enable-zip \
--with-mhash=yes \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--without-mm \
--with-curl=shared,/usr \
--with-enchant=shared,/usr \
--with-zlib-dir=/usr \
--with-gd \
--with-gmp=shared,/usr \
--with-jpeg-dir=shared,/usr \
--with-xpm-dir=shared,/usr/X11R6 \
--with-png-dir=shared,/usr \
--with-freetype-dir=shared,/usr \
--enable-intl=shared \
--with-t1lib=shared,/usr \
--with-mysql \
--with-mysqli \
--with-sqlite3 \
--with-tidy \
--with-xmlrpc \
--enable-maintainer-zts \
--enable-pthreads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment