Jump to content

Help -> domxml_new_doc()


labmixz

Recommended Posts

I decided to play with some of the google maps API earlier today and ran into a snag...

 

Fatal error: Call to undefined function domxml_new_doc() in D:\web\htdocs\maps\phpsqlajax_genxml.php on line 5

 

One I thought, ok, I don't have this enabled, let me go look at the php.ini

 

The problem with this is, in the php.ini, extension=php_domxml.dll, was uncommented out, ok, so lets run a phpinfo();

 

Results:

 

DOM/XML enabled

DOM/XML API Version 20031129

libxml Version 2.6.22

HTML Support enabled

XPath Support enabled

XPointer Support enabled

Schema Support enabled

RelaxNG Support enabled

 

Reading on php.net, I need at least libxml 2.4 or higher, which I have...

 

So I'm kind of stumped as to why this won't work. I read a blurb from a user on php.net saying you needed a set of .dll's installed on windows/system32 but doesn't say which dll's, he said he got them from the php_install_dir/dlls/ (he was also using php 4, which I'm using php5) so I downloaded an older (5.2) .zip of the php install and didn't find that directory.

 

So, anyone have any suggestions for me? I would like to play with this API some :(

Link to comment
https://forums.phpfreaks.com/topic/160815-help-domxml_new_doc/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.