LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-27-2006, 12:28 PM   #1
Oskare100
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
Urgent PHP problem with "undefined function: domxml_open_mem()"! Recomplie php?


Hello,
When I try to use the Ebay XML API that requires DOM packages I get the following error: "Fatal error: Call to undefined function: domxml_open_mem() in /home/domains/tests/ebay.php on line 96".

How can I fix that problem? It is my own server and I've full root access to it. I'm using PHP4, Apache, MySQL on a CentOS system and I've not installed/configured it myself so I don't know how PHP was complied when it was installed. I've heard that it would be nessesary to recomplie PHP but I've no idea of how to do that so please, please help. What do I need to do to be able to use the domxml_open_mem function?

EDIT:
OK, Now I've found http://se2.php.net/manual/en/ref.domxml.php where I can read that I must have GNOME XML library and complied PHP with it.

Here is the instructions from PHP.net:
"In PHP 4 this PECL extensions source can be found in the ext/ directory within the PHP source or at the PECL link above. This extension is only available if PHP was configured with --with-dom[=DIR]. Add --with-dom-xslt[=DIR] to include DOM XSLT support. DIR is the libxslt install directory. Add --with-dom-exslt[=DIR] to include DOM EXSLT support, where DIR is the libexslt install directory."

You can find my php info at http://69.80.225.234/tests/phpinfo.php and according to it it should be configured with "-with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr'" so what can the error be?

EDIT:
Quote:
I've found this info on an old forum;
You are probably receiving this error because php is not loading the
php_domxml.dll extension. This extension is requried for the function
you are trying to use.

Make sure you have the php_domxml.dll file and then add the following
to your php.ini configuration file.
extension=php_domxml.dll
But I don't have the php_domxml.dll file (and not the extension=php_domxml.dll in the php.ini file either), how can I get it?

Please, I really need help with this.
Thanks in advance,
/Oskar R

Last edited by Oskare100; 12-27-2006 at 04:47 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird PHP problem: Call to undefined function mysql_connect() Shioni Linux - Server 4 12-22-2006 05:26 AM
I need help on this PHP error -- "Call to undefined function: mysql_connect()" yzh999 Linux - Software 1 08-12-2006 03:14 AM
GD not loaded though compiled, resulting in "Call to undefined function" czamora Linux - Software 12 08-01-2006 11:10 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 06:51 AM
Call to undefined function domxml_open_mem() apt Programming 2 04-01-2005 03:25 AM


All times are GMT -5. The time now is 05:32 AM.

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