1) First run sudo apachectl -S to find the main document root.
2) sudo pico /etc/apache2/httpd.conf
Make sure Include /private/etc/apache2/extra/httpd-vhosts.conf is uncommented
3) Make sure PHP mod is enabled
Then follow this: Apache Configuration on Mac