Skip to content

Instantly share code, notes, and snippets.

@rmcvey
Created May 7, 2013 14:44
Show Gist options
  • Save rmcvey/5533127 to your computer and use it in GitHub Desktop.
Save rmcvey/5533127 to your computer and use it in GitHub Desktop.
cd /tmp
curl -O http://us3.php.net/distributions/php-5.3.13.tar.bz2
tar -xjvf php-5.3.13.tar.bz2
cd php-5.3.13
sudo ./configure --prefix=/opt/amp --with-libdir=lib --with-config-file-path=/opt/amp/etc \
--with-config-file-scan-dir=/opt/amp/etc/php.d --enable-phar --disable-debug --enable-inline-optimization \
--with-bz2 --without-gdbm --enable-cli --enable-gd-native-ttf --with-xmlrpc --with-pcre-regex --with-zlib \
--with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-sockets --enable-sysvsem --enable-sysvshm \
--enable-sysvmsg --enable-wddx --with-pear --enable-shmop --enable-calendar --enable-mbstring --enable-mbregex \
--with-apxs2=/opt/amp/bin/apxs --with-openssl --with-gd --with-jpeg-dir=/opt/amp --with-png-dir=/opt/amp \
--with-pspell=/opt/amp --with-tidy=/opt/amp --with-gmp=/opt/amp --with-mcrypt=/opt/amp --with-curl=/opt/amp \
--with-mysql=/opt/amp/mysql --with-pgsql=/opt/amp --with-pdo-pgsql=/opt/amp --with-pdo-mysql=/opt/amp/mysql \
--with-gettext=/opt/amp --with-mhash=/opt/amp --without-gdbm --enable-gd-native-ttf --with-ldap --with-mime-magic \
--enable-soap --with-mysqli=/opt/amp/bin/mysql_config --with-xsl --with-dom-xslt --with-dom-exslt --enable-dbase \
--enable-zip --with-readline --with-iconv=/opt/amp --with-iconv=/opt/amp --with-bz2=/opt/amp --enable-pcntl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment