• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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