title: How do you get php working on Mac OS X?
body: <p>I have recently updated to Lion and enabled Web Sharing in the System Preferences but I am unable to get php working.</p>
  
  <p>I added an info file to the web root directory and it outputs the file as text.</p>
  
  <pre><code>info.php
  with the content
  &lt;?php phpinfo(); ?&gt;
  </code></pre>