Control Web Panel
WebPanel => PHP => Topic started by: Starburst on June 28, 2025, 11:40:09 PM
-
You know it's usually bad when I ask a question.
Getting the error:
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Intl is now built-in to PHP, tried building PHP even without the extension, and am still getting the error, which is weird.
Anyone have any thoughts?
@cyberspace
-
This is for the built-in CWP PHP (7.2 that is labeled 7.1)?
I have these files for intl (different dating than the version yours is calling):
/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
/usr/local/src/intl-3.0.0/.libs/intl.so
/usr/local/src/intl-3.0.0/modules/intl.so
-
This is on AL9, which I believe has CWP PHP 7.4.
But the paths show 7.1.
Only location that had the intl.so in was:
/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
Copied it over to:
/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902
Both:
/usr/local/src/intl-3.0.0/.libs/
/usr/local/src/intl-3.0.0/modules/
where empty.
Trying to rebuild PHP now.
Only server to be having this problem.
And it only showed when updating RoundCube to 1.5.11.
You run a PHP module check with php -m, and it lists intl.
php -v doesn't show any errors either.
-
Try to search here:
https://rpmfind.net/linux/rpm2html/search.php?query=php74-php-intl (https://rpmfind.net/linux/rpm2html/search.php?query=php74-php-intl)
The last version today is:
https://rpmfind.net/linux/remi/enterprise/9/remi/x86_64/php74-php-intl-7.4.33-23.el9.remi.x86_64.rpm (https://rpmfind.net/linux/remi/enterprise/9/remi/x86_64/php74-php-intl-7.4.33-23.el9.remi.x86_64.rpm)
Regards,
Netino
-
When you run php -m, it shows the module installed, as does dnf. ???
-
And for sure you're testing the CWP PHP (7.2 or 7.4), not your default CLI PHP (mine is 8.2)?
[root@srv]# /usr/local/cwp/php71/bin/php --version
PHP 7.2.30 (cli) (built: Apr 29 2020 02:29:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
[root@srv]# /usr/local/cwp/php71/bin/php -m
[PHP Modules]
...
[b]intl[/b]
ionCube Loader
...
[Zend Modules]
the ionCube PHP Loader + ionCube24
-
# /usr/local/cwp/php71/bin/php --version
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so (libicui18n.so.60: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.33 (cli) (built: Apr 26 2023 00:00:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
# /usr/local/cwp/php71/bin/php -m
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so (libicui18n.so.60: cannot open shared object file: No such file or directory)) in Unknown on line 0
[PHP Modules]
...
intl
ionCube Loader
...
[Zend Modules]
the ionCube PHP Loader + ionCube24
-
In /usr/local/cwp/php71/php.ini, is the intl extension commented out?
;extension=intl
Uncomment, and/or set a hardcoded path
extension=
/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
-
Yea, it was, now getting:
# /usr/local/cwp/php71/bin/php --version
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so (libicui18n.so.60: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902//usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so.so (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902//usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20190902/intl.so (libicui18n.so.60: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.33 (cli) (built: Apr 26 2023 00:00:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
Tried both ways, same errors.
This makes no sense, all the AL9 servers are behaving.
And why is is trying to load a disable extension...
-
It is claiming about 'libicui18n.so.60' shared object file.
This is a too old library, and seems not available in any package to AL9, that uses GLIBC_2.34.
I think you will need to compile and install libicu 60.3 manually.