OK, firstly, I added this line to my .htaccess file, so the php engine parses the PHP code in the XML file:
AddType application/x-httpd-php .php .php3 .phtml .html .xml
After that, when I look at the XML file, I get this PHP error:
Parse error: parse error, unexpected T_STRING in /var/www/vhosts/mydomain.com/httpdocs/test.xml on line 1
But line 1 is not even php infact, it is line 1:
<?xml version="1.0" encoding="utf-8"?>
Can someone tell me what the problem is?
Thanks.
source
share