By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,589 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,589 IT Pros & Developers. It's quick & easy.

Call to undefined function domxml_open_mem() in php5,linux-ubuntu

P: 72
I am getting this error in php 5.0.3 ,linux-ubuntu os

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.
Jul 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 6,050
Hey there, Mageswar!



(PHP 4 >= 4.2.0)

domxml_open_mem — Creates a DOM object of an XML document
Although undocumented, domxml_open_mem does not exist in PHP5. See this site for a quick fix:
Jul 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.