Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-01-2005, 02:44 AM   #1
Registered: Dec 2004
Posts: 34

Rep: Reputation: 15
Call to undefined function domxml_open_mem()

I am getting this error in php 5.0.3

Fatal error: Call to undefined function domxml_open_mem()
while executing the following line
$dom = domxml_open_mem($xmlData);
I just migrated from php 4.3.9 to php 5.0.3

And this is my configure command for php 5.0.3

./configure --with-apxs2=/home/mydir/apache/bin/apxs --prefix=/home/mydir/php --with-system-regex --with-config-file-path=/home/mydir/php --enable-sockets --enable-track-vars --with-libxml-dir --with-zlib --with-zlib-dir

is that i need to change anything in my configure command or whther this function domxml_open_mem() is change to anyother name?

any help would be appreciated.
Old 04-01-2005, 03:28 AM   #2
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
This is what the php site has to say about domxml
Note: This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.0.0.

Note: This extension is no longer marked experimental. It will, however, never be released with PHP 5, and will only be distributed with PHP 4. If you need DOM XML support with PHP 5 you can use the DOM extension. This domxml extension is not compatible with the DOM extension.
So time to do some work moving from DOMXML to DOM
may be of help
Old 04-01-2005, 04:25 AM   #3
Registered: Dec 2004
Posts: 34

Original Poster
Rep: Reputation: 15
This function domxml_open_mem() is supported in windows binaries(PHP 5.0.3) by including the php_domxml.dll file path in the php.ini extension settings.

Like this(by adding any extension) is there any way to support for linux without moving to DOM from DOMXML.?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Call to undefined function imagettfbbox() QtCoder Programming 24 01-18-2012 01:20 PM
Call to undefined function mail() The_Lance SUSE / openSUSE 1 04-12-2005 09:55 AM
Call to undefined function: mysql_connect() SocialEngineer Linux - Software 2 11-16-2004 03:24 PM
Call to undefined function: mail() in PHP pembo13 Fedora 0 07-28-2004 08:40 PM
PHP: Call to undefined function: session_start() wellmt Linux - Newbie 2 06-01-2004 06:50 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration