Issue
Recently, an update to the ea-libicu
package (version 77.1-1.el8.cloudlinux) has caused issues with the php-intl
package for PHP versions 7.4 and 8.0. This has resulted in downtime for clients relying on the intl
functions in their applications.
Possible error message:
PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so'
(tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/intl.so
(libicuuc.so.76: cannot open shared object file: No such file or directory),
/opt/cpanel/ea-php74/root/usr/lib64/php/modules/intl.so.so
(/opt/cpanel/ea-php74/root/usr/lib64/php/modules/intl.so.so:
cannot open shared object file: No such file or directory)) in Unknown on line 0
Environment
- CloudLinux
- ea-libicu-77.1-1
- ea-php80-php-intl-8.0.30-8.el8.cloudlinux
- ea-php74-php-intl-7.4.33-13.el8.cloudlinux.2
Solution
The patch versions are already in our stable repositories. To update, please run:
yum clean all && yum makecache
yum update ea-php74-php ea-php80-php
Important note:
Downgrading ea-libicu isn't an option without breaking PHP 8.1+.
Cause
The issue arises because the ea-php74-intl
and ea-php80-intl
packages were not built against the new ea-libicu
version, causing them to attempt to link to the previous version (76), which is no longer available. This has resulted in broken functionality for websites that depend on the intl
extension.
Comments
0 comments
Please sign in to leave a comment.