title: Apache giving pages as downloads rather than displaying them
body: <p>I just installed MediaWiki on a website and I am having some problems.</p>
  
  <p>Whenever I go to "www.something.com/wikidir" the server gives me the PHP index file as an unnamed download instead of displaying it.</p>
  
  <p>However, if I go to "www.something.com/wikidir/index.php" everything works as expected.</p>
  
  <p>I'm not familiar with Apache and was wondering if someone could tell me how to fix this or point me in the right direction?</p>
  
  <p>I'm using a LAMP stack and Mediawiki 1.7.1 (old I know).</p>
  
  <p>In my .htacces file I have:</p>
  
  <pre><code>AddType application/x-httpd-php5 .php
  </code></pre>