My only concern here is with the use of Apache 2, while I have no specific details to give you I feel the version of PHP you are using with Apache 2 may have issues.
I have no experience of the latest versions of PHP/Apache, I tend to stick to trusted/stable releases.
You could try (but tend not to recommend) upgrading to PHP 4.3.2, which I'm lead to believe is more compatible with Apache 2 than ever before, but that's from a Linux perspective. I only suggest this if the server/machine you are using is classed as development and won't impact any of your other systems/users etc. (please don't shoot me if it goes belly up!)
Have you posted your entire code to this thread ? If not can you post it, just refresh my memory
Also, have you tried (as a test) passing your XML document as a string, instead of the domxml_open_mem() doing the readfile etc ?
You will need to single quote the string and then pass that to the domxml_open_mem() method.
EG:
Code: Select all
$xml_string = implode('', file("test.xml"));
$doc = domxml_open_mem($xml_string);
I best stop, I'm just guessing now
Regards,