title: localhost doesn't execute php files after update to Maverick/Yosemite OS
body: <p>So I've upgraded to Mavericks (or maybe Yosemite) yesterday but now I only get a view of my directory when I visit localhost but the included index.php isn't executed anymore.</p>
  
  <p>I have to uncommented the virtualhosts line in <code>/etc/apache2/httpd.conf</code></p>
  
  <pre><code># Virtual hosts
  Include /private/etc/apache2/extra/httpd-vhosts.conf
  </code></pre>
  
  <p>so my virtual hosts work but php doesn't get executed.</p>