Fatal error: Call to undefined function domxml_xmltree

gozu

Registered
Feb 2, 2014
2
0
1
cPanel Access Level
Reseller Owner
Hi, i am getting this error after upgrading PHP/Apache, i see that this is no longer in PHP and people say to use PECL.

Any tips on how to fix this error, domxml is installed and showing in phpinfo? thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

The "dom" PHP module should be compiled by default. EX:

Code:
[~]# php -m|grep dom
dom
What version of PHP is installed on your system? Are you using a specific PHP script? How long ago was it last updated?

Thank you.
 

gozu

Registered
Feb 2, 2014
2
0
1
cPanel Access Level
Reseller Owner
www1:~# php -m|grep dom
domxml

the site is quite old i was attempting to migrate it for a client.
thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
I recommend checking to see if an update is available for the script they are using.

Thank you.