Skip to content

Instantly share code, notes, and snippets.

@phatduckk
Created June 14, 2009 02:18
Show Gist options
  • Save phatduckk/129518 to your computer and use it in GitHub Desktop.
Save phatduckk/129518 to your computer and use it in GitHub Desktop.
CFLAGS="-arch x86_64" \
./configure \
--with-apxs2=/usr/sbin/apxs --prefix=/usr/local/php5.2.8 --with-config-file-scan-dir=/usr/local/php5.2.8/php.d \
--with-config-file-path=/usr/local/php5.2.8/php.d \
--disable-posix \
--enable-cli \
--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-jpeg-dir=/opt/local/include --with-png-dir=/opt/local/include --enable-gd-native-ttf --with-freetype-dir=/usr/local/php5.2.8 \
--with-zlib \
--enable-pdo --with-pdo-sqlite --with-sqlite=shared --enable-sqlite-utf8 \
--with-pdo-mysql=shared,/usr/local/mysql \
--with-xsl \
--enable-soap \
--with-iconv=shared --with-iconv-dir=/opt/local/include \
--enable-mbstring \
--with-zlib-dir=/usr --with-ldap --with-xmlrpc \
--with-libxml-dir=shared,/usr/local/php5.2.8 \
--with-curl \
--enable-sockets \
--with-pear=/usr/local/php5.2.8/ \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment