We have used an .xml file for a number of years to generate a dynamic feed. To accomplish this we have embedded php in the xml file. (note we are not processing a php file to generate an xml file) This has worked well, but it just stopped working. The embedded php is not being processed but is being parsed as xml (well, malformed xml).
I thought that maybe someone edited our httpd.conf file and removed the "AddType application/x-httpd-php .xml" line that has apache preprocess the php, but the line is in the httpd.conf file.
The feed file (XXXX.xml) has not changed in quite a few years, so any idea why the php is not being processed?
Here is the first couple of lines of the xml file:
echo "<?xml version='1.0' encoding='UTF-8'?>\n";
.....More PHP Code.....
echo ......xml stored in php strings........