OS X Server 10.4.* (Tiger), Apache2, PHP5, and PostGres for the Mac

I needed to recompile my setup, and Tiger doesn’t support Apache2 or PHP5 out of the box.

For compiling Apache2 and PHP5, these instructions worked flawlessly.

And there is now a nice Mac PostGres installer. It too worked flawlessly!

-030-

I forgot to say, “Additional Useful Apache2 Config Settings” provides a crucial bit of information:

cd /usr/sbin/;
mv apachectl apachectl-1.3;
ln -s /apache2/bin/apachectl apachectl;

The apachectl that comes with the Apple Apache install (1.3) has paths hard-coded into it, so if you get error messages to paths that don’t exist anymore, or shouldn’t, because of your new install, that’s why. So, disable the old apachectl, and link to the new one, in your new installation directory.