Created
April 4, 2012 12:14
-
-
Save maimai-swap/2300731 to your computer and use it in GitHub Desktop.
php-5.3.10 configure on Mac OSX
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
./configure \ | |
--enable-mod-charset \ | |
--with-apxs2=/usr/local/apache2/bin/apxs \ | |
--disable-cgi \ | |
--with-libexpat-dir=/usr \ | |
--with-libxml-dir=/usr \ | |
--with-openssl \ | |
--with-openssl-dir=$(brew --prefix openssl) \ | |
--with-kerberos \ | |
--with-zlib \ | |
--with-zlib-dir=/usr \ | |
--enable-bcmath \ | |
--with-bz2 \ | |
--enable-calendar \ | |
--with-curl=/usr \ | |
--enable-exif \ | |
--enable-ftp \ | |
--with-gd=$(brew --prefix gd) \ | |
--with-jpeg-dir=/usr/local \ | |
--with-png-dir=/usr/X11 \ | |
--with-zlib-dir=/usr \ | |
--with-freetype-dir=/usr/local \ | |
--enable-gd-native-ttf \ | |
--enable-gd-jis-conv \ | |
--with-gettext=$(brew --prefix gettext) \ | |
--with-gmp \ | |
--with-mhash \ | |
--with-kerberos \ | |
--with-ldap \ | |
--enable-mbstring \ | |
--with-mcrypt \ | |
--with-mysql \ | |
--with-mysql-sock \ | |
--with-mysqli \ | |
--with-pdo-mysql \ | |
--without-pdo-sqlite \ | |
--with-readline=$(brew --prefix readline) \ | |
--enable-soap \ | |
--with-tidy \ | |
--enable-zip \ | |
--with-pear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
homebrewで色々ライブラリ入れてるのが前提。
brew install gd
brew install gettext
brew install readline
brew install openssl
mysql apacheは事前にインスコ済み。
apacheはhomebrewにないので、ソースでhttpd-2.2.22をいれた。
あとXcodeの4.3もインスコ前提