Image

Imagegamesociety wrote in Imagephp

domxml functions not recognized

First time on this server, last night I tried

$doc = domxml_new_doc()

Got a function undefined error. Apparently domxml isn't installed by default on PHP 5? I thought it was.

I did phpinfo and I do lave libxml2 installed, it also says that XML is enabled. But what was really wierd is that no configure command came up on phpinfo. Is everything handled through php.ini on PHP 5??? Me confused. Nowhere could I find a file that has my install configuration.

Give me the tools and I can code, make me install this crap and I get the urge to go out and kill a penguin. Grrr.

Any ideas?


You know, it would pay to read EVERYTHING including small print sometimes. DOM deprecated domXML. domXML has been archived with PECL but isn't compatible with DOM. I swear I was on that page a dozen times last night and never saw it.

http://us3.php.net/manual/en/ref.domxml.php