• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue PHP CLI Error Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so'

Sparky

New Pleskian
PHP CLI is showing the following errors when I try to use PHP from the command line:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so' - /usr/lib64/php/modules/xmlreader.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0

The module files exist:

[prod_admin@websrv-prod ~]$ ll /usr/lib64/php/modules/xmlreader.so
-rwxr-xr-x. 1 root root 32928 Nov 5 2016 /usr/lib64/php/modules/xmlreader.so

[prod_admin@websrv-prod ~]$ ll /usr/lib64/php/modules/xsl.so
-rwxr-xr-x. 1 root root 37112 Nov 5 2016 /usr/lib64/php/modules/xsl.so

PHP Version:

PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

System Info:

Version Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7
OS CentOS Linux 7.4.1708 (Core)

This is a new server and Plesk install. Updates were run through the Plesk updater.

How do I fix this?
 
What is output of commands

# rpm -qf /usr/lib64/php/modules/xmlreader.so
# rpm -qf /usr/lib64/php/modules/xsl.so
# rpm -qf /usr/bin/php

?
 
rpm -qf /usr/lib64/php/modules/xmlreader.so

Code:
php-xml-5.4.16-42.el7.x86_64

rpm -qf /usr/lib64/php/modules/xsl.so

Code:
php-xml-5.4.16-42.el7.x86_64

rpm -qf /usr/bin/php

Code:
php-cli-5.4.16-42.el7.x86_64
 
undefined symbol: dom_node_class_entry
The xsl extensions require the dom extension which is built shared and hence needs to be loaded first. Make sure that there is something like:

# grep -R dom /etc/php.d/*
/etc/php.d/dom.ini:; Enable dom extension module
/etc/php.d/dom.ini:extension=dom.so
 
Back
Top