My local Drupal development environment on my MacbookAir was setup to use the built-in Apache/PPH that comes with Mac OS X Lion. MySQL server was installed with the pre-built MySQL Community Server “Mac OS X ver. 10.6 (x86, 64-bit), Compressed TAR Archive” .dmg from http://dev.mysql.com/downloads/mysql/ (I don't use MacPorts or Brew). But after upgrading to Mountain Lion, when I visit my local Drupal development site, it no longer works. It shows:
It works!
A google search for ”Mountain Lion Apache” found this page:
http://coolestguyplanettech.com/downtown/install-and-configure-apache-my...
Which explains that under Mountain Lion, the Apache server is no longer controlled by the Share System Preferences pane. Now Apache is controlled with 'apachectl start|stop|restart|graceful', just like any other “normal” apache setup. Wonderful! But this is not where the problem lies. The problem is the new /etc/apache2/httpd.conf file intalled by Mountain Lion needs a couple uncommenting to enable PHP and to include virtual host configuration: