Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created April 1, 2012 14:50
Show Gist options
  • Select an option

  • Save msabramo/2275822 to your computer and use it in GitHub Desktop.

Select an option

Save msabramo/2275822 to your computer and use it in GitHub Desktop.
This is the config.nice that I used to build PHP 5.3.10 with intl and readline on OS X 10.6.8
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/usr/local' \
'--mandir=/usr/share/man' \
'--infodir=/usr/share/info' \
'--sysconfdir=/private/etc' \
'--with-apxs2=/usr/sbin/apxs' \
'--with-config-file-path=/etc' \
'--with-libxml-dir=/usr/local/Cellar/libxml2/2.7.8' \
'--with-openssl=/usr' \
'--with-kerberos=/usr' \
'--with-zlib=/usr' \
'--enable-bcmath' \
'--with-bz2=/usr/local' \
'--enable-calendar' \
'--with-curl=/usr/local' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/X11' \
'--enable-gd-native-ttf' \
'--with-ldap=/usr' \
'--with-ldap-sasl=/usr' \
'--enable-mbstring' \
'--enable-mbregex' \
'--with-mysql=mysqlnd' \
'--with-mysqli=mysqlnd' \
'--with-pdo-mysql=mysqlnd' \
'--with-mysql-sock=/var/mysql/mysql.sock' \
'--with-iodbc=/usr/local' \
'--enable-shmop' \
'--with-snmp=/usr' \
'--enable-soap' \
'--enable-sockets' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--with-xmlrpc' \
'--with-iconv-dir=/usr/local' \
'--with-xsl=/usr/local' \
'--enable-zend-multibyte' \
'--enable-zip' \
'--with-libxml-dir=/usr/local/Cellar/libxml2/2.7.8' \
'--with-readline=/usr/local/Cellar/readline/6.2.2' \
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment