Symptoms
On servers that make use of Imunify360 or CloudLinux hardened PHP for the ea-php packages, after updating the EasyApache packages, you find that PHP-FPM fails to start with the following errors:
# /opt/cpanel/ea-php##/root/usr/bin/php: /opt/cpanel/ea-libxml2/lib64/libxml2.so.2: no version information available
/opt/cpanel/ea-php##/root/usr/bin/php: symbol lookup error: undefined symbol: __xmlParserVersion
/opt/cpanel/ea-php##/root/usr/sbin/php-fpm: /opt/cpanel/ea-libxml2/lib64/libxml2.so.2: no version information available
/opt/cpanel/ea-php##/root/usr/sbin/php-fpm: symbol lookup error: undefined symbol: __xmlParse
You may also find that the errors here are reported by cron jobs and in the output of PHP commands:
# /opt/cpanel/ea-php##/root/usr/bin/php: /opt/cpanel/ea-libxml2/lib64/libxml2.so.2: no version information available (required by /opt/cpanel/ea-php##/root/usr/bin/php)
/opt/cpanel/ea-php##/root/usr/bin/php: /opt/cpanel/ea-libxml2/lib64/libxml2.so.2: no version information available (required by /opt/cpanel/ea-php##/root/usr/bin/php)
Cause
This behavior is observed on servers that use Imunify360 / CloudLinux hardened EA PHP packages, caused by the update to the cPanel-provided ea-libxml2 package. The Hardened PHP packages need to be rebuilt to use the new ea-libxml2 package, which will be addressed in an update to the Hardened ea-php packages.
Resolution
Update: CloudLinux has released the ea-libmxl2 package to resolve this problem. You can update normally to repair this problem.
- 2.15.1-2
- EA4-136: Fix libxml2 library linking issues
# dnf update ea-libxml2
If your PHP rpms are out of date, it may also be necessary to update them to the latest available release:
Note: You will need to customize this command to the version of PHP that requires updating.
# dnf update ea-php80*
If you previously locked this package to prevent updates, you can now unlock it and perform updates normally.
How to remove version-locked RPM packages
Additional Information
Comments
0 comments
Article is closed for comments.