<p>I have an odd problem...I'm using a documentation generator which generates a lot of output like docs/foo.php.html. It's XHTML, and thus contains <code>&lt;?xml...&gt;</code> tags at the beginning of file. The problem is, Apache has somehow decided to run it through the PHP interpreter, even though ".php" appears in the middle of the filename, and not at the end. This, in turn, triggers a PHP error, because it sees "<code>&lt;?</code>" as the command to start executing PHP code, and immediately gets confused by the "<code>xml...</code>" which follows it.</p>

<p>How do I configure Apache to ONLY execute .php files and not .php.html files? The string "php.html" does not appear explicitly anywhere in my Apache config files. There is a line "<code>AddHandler php5-script .php</code>", but I don't see how that would also include ".php.html" files.</p>

You could disable PHP's shorttags -- this is the recommended way to mix PHP and XML.
http://us.php.net/ini.core
```
```
short_open_tag = 0
```
```