Installing PHP on Macs takes a lot of checking and writing, because you need to compile the program for your specific hardware. Fortunately, Apache is already installed on Macs, so it saves you a little trouble. In addition, an online PHP module may be faster than the manual way I teach. You can find this module at www.entropy.ch/software/macosx/php. My recommended steps for a manual installation show you how to configure PHP on a Mac OS X (taken mostly from www.php.net). This tutorial uses Apache 1.3 and PHP 4.
Go to www.php.net and download the latest distributions of Apache and PHP.
Make sure you get the Mac binaries or the source.
Extract the files into their own directories and run the configure statement through your ...