Skip to content

Instantly share code, notes, and snippets.

@gausam
Created May 13, 2016 06:50
Show Gist options
  • Save gausam/08842bb2dcc5e240136024c6cadd2a32 to your computer and use it in GitHub Desktop.
Save gausam/08842bb2dcc5e240136024c6cadd2a32 to your computer and use it in GitHub Desktop.
PHP Install that worked for me on Ubuntu 16
./configure --prefix=/webstack/php-5.4.34 \
--without-t1lib \
--disable-short-tags \
--enable-pcntl \
--with-tsrm-pthreads \
--with-mysqli \
--with-mysql \
--with-pdo-mysql \
--with-zlib \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-exif \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-iconv-dir \
--with-gettext \
--with-imap \
--with-imap-ssl \
--with-openssl \
--enable-mbstring \
--with-mcrypt \
--with-mhash \
--with-pspell \
--enable-soap \
--enable-sockets \
--with-sqlite \
--enable-sqlite-utf8 \
--enable-wddx \
--with-xmlrpc \
--with-xsl \
--enable-zip \
--with-kerberos \
--with-tidy \
--with-curl \
--with-curlwrappers \
--enable-fpm \
--enable-fastcgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment