Created
September 1, 2009 08:01
-
-
Save phatduckk/178973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# php 5.3 snow leopard | |
# need 64 bit mysql as /usr/local/mysql | |
# compile apache | |
./configure --enable-layout=Darwin --enable-mods-shared=all | |
make | |
sudo make install | |
# now configure php. then make; sudo make install | |
./configure \ | |
--with-apxs2=/usr/sbin/apxs \ | |
--prefix=/usr/local/php5.3.0 \ | |
--with-config-file-scan-dir=/etc/php/ini.d \ | |
--with-config-file-path=/etc/php/php.ini \ | |
--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=/opt/local \ | |
--with-zlib \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-sqlite=shared \ | |
--enable-sqlite-utf8 \ | |
--with-pdo-mysql=shared,/usr/local/mysql \ | |
--with-xsl \ | |
--enable-soap \ | |
--enable-mbstring \ | |
--with-zlib-dir=/usr \ | |
--with-ldap \ | |
--with-xmlrpc \ | |
--with-libxml-dir=shared,/opt/local \ | |
--with-curl \ | |
--with-gd \ | |
--enable-gd-native-ttf \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/usr/X11R6 \ | |
--with-freetype-dir=/usr/X11R6 \ | |
--with-xpm-dir=/usr/X11R6 \ | |
--enable-sockets \ | |
--with-pear=/usr/local/php/pear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment