Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.