→ How to intall Apache with PHP on Mac OS X? → → →

Apache is already installed, you just have to start it in System Preferences > Sharing > Web Sharing (enable it by clicking checkbox).

I don't really remember installing PHP, so I guess it was already installed ;-). To enable it working with Apache you have to uncomment default line:

LoadModule php5_module libexec/apache2/libphp5.so

in /private/etc/apache2/httpd.conf

Created on 01 February 2009