title: apache2 on ubuntu - php files downloading
body: <p>On my new Ubuntu system, I've managed to get Apache2 up and running for developing my ZendFramework Web Applications...</p>
  
  <p>I've got my <code>available-sites</code> config working correctly because I am able to request <code>localhost</code> and it servers up the correct <code>index.html</code> from my specified directory. </p>
  
  <p><strong>Problem :</strong> if I request <code>index.php</code>, firefox attempts to download the file instead of running the script.</p>
  
  <p>Any Ideas why this would happen? </p>
  
  <p>I've added the following to <code>httpd.conf</code> but it hasn't helped. </p>
  
  <pre><code>AddHandler application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
  
  AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
  </code></pre>