the browser always shows like this: <br><b>Fatal error</b>: Call to undefined function: domxml_open_mem() in <b>c:\apache\htdocs\svg_dom_xml_php_bsp.php</b> on line <b>76</b><br>. What is wrong here?

In php 4 the dom xml extension is NOT loaded by default. So you can't just call these functions until you load the extension.
http://us2.php.net/domxml


I also looked through the web site www.php.net. But I was confused with so much information.Should I download GNOME XML library? Should domxml run only under linux, not windows? Should domxml run above the version php4.0.x?
If possible under windows, how can I get the GNOME XML library and then how to install it? At last,how can I configurate php again after installing it?

Windows users don't need the GNOME library for domxml, and I wouldn't recommend building it yourself. However, depending on your version of php you need to have a file in your include path. Directly from the manual:


Note to Win32 Users: In order to enable this module on a Windows environment, you must copy one additional file from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your Windows machine (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). For PHP <= 4.2.0 copy libxml2.dll, for PHP >= 4.3.0 copy iconv.dll from the DLL folder to your SYSTEM32 folder.

For windows 98, I think you can put the relevant file into C:\WINDOWS\SYSTEM

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to