COMPILING AND INSTALLATION INSTRUCTIONS (JAGUAR)

I used to use Marc's http://www.entropy.ch/software/macosx/php/ binaries, but somewhere from 10.1.5 on, it stoped working on OSX Server edition. Since you don't need any patch (like Marc's patch) anymore to build your own, I just use the instructions bellow.

curl -O http://us2.php.net/distributions/php-4.3.3.tar.gz
gunzip php-4.3.3.tar.gz
tar -xvf php-4.3.3.tar
cd php-4.3.3/

./configure \
--enable-cli \
--with-mysql \
--with-apxs \
--enable-trans-sid \
--enable-exif \
--with-xml \
--enable-ftp \
--enable-sockets


$ make
$ make install
$ sudo apachectl graceful restart

PHP.INI (php pref file)

/usr/local/lib/php.ini

sudo mkdir -p /usr/local/lib
sudo touch /usr/local/lib/php.ini

Be sure to include this line in the php.ini file: "register_globals = on"