title: Apache downloads php files instead of executing script
body: <p>I just set up a local web server on a new Mac running 10.6 (Apache2 / PHP / Mysql). Everything seems to be working fine except when I navigate to <em>SOME</em> (not most) pages Apache downloads php files instead of executing them. </p>
  
  <p>I thought this might have something to do with the time it takes php to execute the script so I increased my "max_execution_time" but it didn't help.</p>
  
  <p>I wish I could give more details but the error logs don't output anything so I really have no idea why this is happening. One thing that might be of significance is that only pages that don't query the database seem to work every time.</p>
  
  <p>UPDATE:</p>
  
  <p>Just discovered something strange that might give more insite into the problem. If I type the following URLs:</p>
  
  <p>localhost/index.php   // the home page is served up correctly</p>
  
  <p>localhost/index.php?page=1   // the home page is served up correctly</p>
  
  <p>localhost/index.php?page=home   // ERROR: index.php is downloaded !!!!!!!!!!</p>
  
  <p>localhost/index.php?page=contact   // the contact page is served up correctly</p>
  
  <p>localhost/index.php?page=blog   // ERROR: index.php is downloaded</p>
  
  <p>localhost/index.php?page=10   // the blog page is served up correctly</p>