Compile PHP 5.2.9 under Mac OS X 10.5.6
CFLAGS=”-isysroot /Developer/SDKs/MacOSX10.5.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch i386 ” ./configure –prefix=/usr –mandir=/usr/share/man –infodir=/usr/share/info –sysconfdir=/private/etc –with-zlib –with-zlib-dir=/usr –with-openssl –enable-exif –enable-ftp –enable-mbstring –enable-mbregex –enable-sockets –with-apxs2=/usr/sbin/apxs –with-ldap=/usr –with-kerberos=/usr –enable-cli –enable-exif –enable-ftp –enable-mbstring –enable-mbregex –enable-sockets –with-iodbc=/usr –with-curl=/usr –with-config-file-path=/etc –with-kerberos=/usr –with-openssl –with-xmlrpc –with-xsl=/usr –without-pear –enable-soap –enable-bcmath –with-pdo-mysql=/usr/local/mysql/bin/mysql_config –with-mysql=/usr/local/mysql
make
make test
make install
*beten*

No comments yet.