title: Prevent PHP from parsing non-PHP files such as someFile.php.txt
body: <p>I just installed phpdocumentor, but received strange errors.  I finally tracked down the problem.</p>
  
  <p>Phpdocumentor creates various files such as someFile.php.txt which contains PHP code, but aren't meant to be parsed.  Turns out, my server is parsing them.  I've also tested a file name called someFile.txt, and it isn't being parsed.</p>
  
  <p>How do I prevent my PHP server from parsing files such as someFile.php.txt?</p>
  
  <p>My server is PHP Version 5.4.20, Apache 2.2.15, and CentOS 6.4.  My <code>/etc/httpd/conf.d/php.conf</code> file is as follows:</p>
  
  <pre><code>#
  # PHP is an HTML-embedded scripting language which attempts to make it
  # easy for developers to write dynamically generated webpages.
  #
  &lt;IfModule prefork.c&gt;
    LoadModule php5_module modules/libphp5.so
  &lt;/IfModule&gt;
  &lt;IfModule worker.c&gt;
    LoadModule php5_module modules/libphp5-zts.so
  &lt;/IfModule&gt;
  
  #
  # Cause the PHP interpreter to handle files with a .php extension.
  #
  AddHandler php5-script .php
  AddType text/html .php
  
  #
  # Add index.php to the list of files that will be served as directory
  # indexes.
  #
  DirectoryIndex index.php
  
  #
  # Uncomment the following line to allow PHP to pretty-print .phps
  # files as PHP source code:
  #
  #AddType application/x-httpd-php-source .phps
  </code></pre>