|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-23 14:42 UTC] helly@php.net
[2004-03-23 16:59 UTC] memoimyself at yahoo dot com dot br
[2004-03-26 20:44 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 02:00:01 2025 UTC |
Description: ------------ I noticed that "php_domxml" is no longer an option in the extensions section of php.ini, so I assume that DOM XML is now bundled with PHP5. As a matter of course, phpinfo() tells me that DOM/XML is enabled and that the version of libxml is 2.5.11. However, when trying to use domxml_version(), domxml_new_doc(), domxml_open_mem(), or any other DOM XML function, I get a "call to undefined function" error. If these functions now have new names, they're not listed in the online documentation. I have checked the new php.ini file to make sure that it points to valid paths (e.g. extension_dir = "C:\PHP\ext\") and everything's fine. The extensions directory is there and is pointed to correctly by php.ini; all PHP files are in c:\php and the sub-directories are exactly the same as in the distribution package; httpd.conf has been properly edited (and in fact Apache issues no error messages); my system path variable contains c:\php. What's going on? Reproduce code: --------------- print domxml_version(); $xmldoc = domxml_new_doc('1.0'); $xmldoc = domxml_open_mem('<?xml version="1.0"?><root>test</root>'); Expected result: ---------------- Functions should at least be recognized. Actual result: -------------- "Call to undefined function" errors.