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?
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?