xmldoc undefined with domxml apparently enabled
| From: | Luca | Date: | Sat, 05 Jan 2002 20:46:05 +0000 |
| Subject: | xmldoc undefined with domxml apparently enabled | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79572@lists.php.net to get a copy of this message | ||
Hi,
I can't get DOMXML to work. The line
$doc = xmldoc($xml); // (line 26)
(where $xml is a string containing a valid xml document) raises
a fatal error:
"Fatal error: Call to undefined function: xmldoc() in
d:\...\class.xmltemplate.php on line 26"
I'm running PHP 4.1.1 as an Apache module with Apache 1.3.22 on
Win98 (but I was experiencing the same problem with PHP 4.0.6, 4.0.7,
4.1.0 and Apache 1.3.14). All the required dlls (libxml2.dll,
iconv-1.3.dll) have been copied to the system directory, and
phpinfo() tells me that DOMXML is enabled (with libxml 2.4.1).
Same problem with xmldocfile().
Best regards,
Luca