domxml not working!

admin

Administrator
Staff member
I am trying to open an xml file, and I get the following:

Call to undefined function domxml_open_file()

I have downloaded both iconv.dll and libxml2.dll and tried placing them first in c:\php and then in c:\windows\system32, but I get the same thing for both locations. This is suggested in many other postings, but mainly for PHP 4....has anyone gotten this to work with PHP 5???

The DOM classes are present in get_declared_classes(), and phpinfo reports that dom, iconv, and libxml are all active/enabled.

Version info:
PHP 5.0.2
Windows XP Pro SP1
IIS 5.1
libxml 2.6.15
iconv 1.9.1never mind, i figured it out.

i was using the DOMXML extension, which is for PHP 4. The new PHP 5 uses the DOM extension, and is a total rewrite!
 
Back
Top