Control Web Panel
WebPanel => Updates => Topic started by: nleaudio on June 23, 2026, 05:30:47 PM
-
Hello,
Just this past week, I got a call from a user on one of my CWP boxes that said that Roundcube was broken. Checked into it, and found that the php extension intl was not loaded, which Roundcube uses.
I finally found the log that showed me the error:
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
The odd thing is that the file *does* exist at that location, and seems fine.
So, I tried to force an update with:
/scripts/update_cwp
/scripts/mail_roundcube_update
...But that only seemed to try to install an even older version of Roundcube, and now I get a bunch of the PHP warning messages in the emailed cron:
/etc/cron.daily/cwp:
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: cannot open shared object file: No such file or directory)) in Unknown on line 0
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: 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-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: 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-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: cannot open shared object file: No such file or directory)) in Unknown on line 0
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl restart httpd.service
chsh: Shell not changed.
chsh: Shell not changed.
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so (libicui18n.so.50: cannot open shared object file: No such file or directory)) in Unknown on line 0
Date which backup script is using: 2026-06-23 07:46:46
How can I fix this?
Also, I know there have been some recent security updates to Roundcube - have any of these been implemented in what runs under CWP?
Bob
-
Other info I neglected to mention:
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.10 (Ootpa)
(Actually running Oracle Linux 8)
uname -r
5.15.0-313.189.5.1.el8uek.x86_64
CWPpro version: 0.9.8.1236
-
Usual advice:
Follow Sandeep's guide to install INtl and also update Roundcube to the last 1.5.15 LTS version (update all paths and references from 1.5.8 to 1.5.15):
https://www.alphagnu.com/topic/33-update-cwp-roundcube-mail-version-158-%E2%80%93-control-web-panel/
-
Thanks for the reply. I looked at that page, he has links for EL7 and EL8 files, but not for EL9. Are there any updates for that?
Bob
-
Should be the same for AL9:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/update-roundcube-webmail-to-version-1-5-15-in-cwp-on-almalinux-8-9/
-
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl (/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so
cd /usr/local/src/
wget https://www.php.net/distributions/php-7.2.30.tar.gz
tar -xvzf php-7.2.30.tar.gz
cd php-7.2.30/ext/intl/
/usr/local/cwp/php71/bin/phpize
./configure --with-php-config=/usr/local/cwp/php71/bin/php-config
make
make install
rm -rf /usr/local/src/php-7.2.30*
-
You can use @cyberspace 's way if you are running PHP 7.2
If you are running AL9 that is showing PHP 7.4, we created a KB article this morning at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-for-php-startup-unable-to-load-dynamic-library-intl-cwp-on-almalinux-9/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-for-php-startup-unable-to-load-dynamic-library-intl-cwp-on-almalinux-9/)
You can find out what PHP version CWP us running with:
/usr/local/cwp/php71/bin/php --version
-
Thank you guys, that fixed it!
I noticed that now *ALL* my CWP boxes are showing this error, from the emailed crons. Perhaps a recent update borked this?
Might need to put this same fix in an update for others facing the same issue.
Bob
-
I think the .1235/.1236 update broke something.
Noticed the update from last night didn't change the CWP version number.
Also stick with @cyberspace 's fix, the one I posted doesn't work 100%, and I'm investigating more.
-
cd /usr/local/src/
wget https://www.php.net/distributions/php-7.2.30.tar.gz
tar -xvzf php-7.2.30.tar.gz
cd php-7.2.30/ext/intl/
/usr/local/cwp/php71/bin/phpize
./configure --with-php-config=/usr/local/cwp/php71/bin/php-config
make
make install
rm -rf /usr/local/src/php-7.2.30*
@cyberspace tried your fix with your posted 7.2 and make & make install end with:
make: *** [Makefile:284: transliterator/transliterator_class.lo] Error 1
PHP compiles OK, but now it's just showing:
[php71]# /usr/local/cwp/php71/bin/php --version
PHP Warning: Module 'intl' already loaded 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 v15.5.0, Copyright (c) 2002-2026, by ionCube Ltd.
Any ideas?
Also with the forums still being unstable, would you consider cross-posting at ayadmin.help?
-
Got everything fixed and running on AlmaLinux 9.8.
Created a new updated KB articles at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-for-php-startup-unable-to-load-dynamic-library-intl-cwp-error-on-almalinux-9/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/fix-for-php-startup-unable-to-load-dynamic-library-intl-cwp-error-on-almalinux-9/)
Let me know if anyone find anything wrong.
-
[php71]# /usr/local/cwp/php71/bin/php --version
PHP Warning: Module 'intl' already loaded 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 v15.5.0, Copyright (c) 2002-2026, by ionCube Ltd.
I think you tried to fix the problem using my solution on Almalinux 9. Right ? Almalinux 8 and Almalinux 9 use different php version for the base system. To make it working on Almalinux 9 use:
cd /usr/local/src/
wget https://www.php.net/distributions/php-7.4.33.tar.gz
tar -xvzf php-7.4.33.tar.gz
cd php-7.4.33/ext/intl/
/usr/local/cwp/php71/bin/phpize
./configure --with-php-config=/usr/local/cwp/php71/bin/php-config
make
make install
rm -rf /usr/local/src/php-7.4.33
-
Yea, I got it working.
But something has recreated the /usr/local/cwp/php71/php.d/intl.ini that I can renamed to intl.ini.old
So the
PHP Warning: Module ‘intl’ already loaded in Unknown on line 0
popped it's head back up, since PHP is trying to load intl twice, again.