
[robg adds: Note that I haven't tested this one, and I added some detail to the hint as submitted -- so any mistakes are likely mine. Read on for the step-by-step...]
- Install Apache 2 into /Library/Apache2)
- Install MySQL5 [download link]. This will automatically install in /usr/local.
- Install PHP5 [download link from entropy.ch]. This version automatically installs in /usr/local)
- Create a folder named opt at the root of your hard drive. You can make it invisible with something like File Buddy.
- In Terminal, create a symbolic link: ln -s /Library/Apache2/ /opt/apache2
- Open the Apache2 Configuration file, which can be found in /Library -> Apache2 -> conf -> httpd.conf. Add the following lines (before Load module):
# PHP5 configuration for Entropy PHP LoadModule php5_module /usr/local/php5/libphp5.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
- Reboot, then start the Apache web server.