I'm a little confused as to how to configure my Apache server. I'm using Apache 2.2.11
Take these 2 pages as a good example:
They're both one and the same syntax, but the extension is different. The first file has HTML as an extension, the second has XHTML as an extension.
The server in the background has the following set:
AddType application/xhtml+xml .xhtml
By doing so, the MathML and SVG are correctly displayed.
Now, most websites work with PHP anyway. I've set this in my Apache:
AddType application/x-httpd-php .php
The standard syntax and all.
But if I want my PHP pages to display MathML and SVG too, I'm thinking I need to do this:
AddType application/xhtml+xml .php
AddType application/x-httpd-php .php
But that doesn't work, PHP no longer parses.
So, how can I make sure PHP still works like normal and at the same time I can use things like MathML and SVG in combination?