MacOS XにPHP5を(2)

PHP5.2.3のインストール

#./configure --prefix=/usr/local --mandir=/usr/share/man \
--infodir=/usr/share/info --with-apxs=/usr/sbin/apxs --with-ldap=/usr \
--with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid \
--with-expat-dir=/usr/local --enable-exif --enable-ftp --enable-mbstring \
--enable-zend-multibyte --enable-sqlite-utf8 --enable-mbregex --enable-dbx \
--enable-sockets --with-curl=/usr/local --enable-config-file-path=/etc \
--with-mysql=/usr/local --enable-soap --with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local --with-tiff-dir=/usr/local \
--with-libxml-dir=/usr --enable-zip
#make
#sudo make install
Configureのオプションは長いが、気合いですw

GD使いたいとか、FreeType使いたい・・・ってなると、事前にGDをインストールする必要があるとか、更にオプションが長くなるとか、面倒です。