xml trouble under Apache
| From: | BlackZ | Date: | Tue, 22 Jul 2003 18:52:59 +0000 |
| Subject: | xml trouble under Apache | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20865@lists.php.net to get a copy of this message | ||
Just a script:
<?
if(!$dom = domxml_open_file("test1.xml")) {
echo "Error while parsing the document\n";
exit;
}
.......
?>
It running well in console mode.
But when I'm point my browser to one
it says: "Error while parsing the document".
Apache log says: "Error parsing xml-file"
1. DOMXML enabled under PHPINFO.
2. path to xml file is correct
Please help !!!