- Forum
- Main Forum
- English Section
- CWP Control
- CWP Update: Fixed PHP intl Warning and Cleaned update_cwp Output on AlmaLinux
×
Installation and guides about a great free, plesk and cpanel alternative project
CWP Update: Fixed PHP intl Warning and Cleaned update_cwp Output on AlmaLinux
- infogate
-
Συντάκτης θέματος
- Αποσυνδεμένος
- Administrator
-
- Imagination is the beginning of creation
1 Εβδομάδα 1 Ημέρα πριν - 1 Εβδομάδα 6 Ώρες πριν #346
από infogate
The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
CWP Update: Fixed PHP intl Warning and Cleaned update_cwp Output on AlmaLinux δημιουργήθηκε από infogate
I wanted to share a small CWP maintenance note in case it helps someone else.
On one of my CWP / Control Web Panel servers, running the CWP update script was showing repeated PHP warnings related to the internal CWP PHP 7.1 intl extension.
The update was started with:
Before the fix, the warning looked like this:
After investigation, the warning was coming from the internal CWP PHP configuration:
The check command was:
It showed:
In my case, after cleaning the broken configuration and running the CWP update again, CWP downloaded a fresh intl.so file automatically:
The update also reported that the needed ICU package was already installed:
After that, the CWP update completed much cleaner.
The command used was:
The successful update flow looked like this:
Important note: running the CWP update may restart or reload services like:
So it is better to run it during a quiet time, because websites may briefly reload or monitoring may report a short downtime.
There were still a few harmless warnings related to root SSH authorized keys:
In my case, this only meant that the file did not exist:
This is not critical if you are not using root SSH key authentication.
There were also these messages:
These are usually harmless and simply mean that the shell was already set or did not need to be changed.
After the update, I checked for failed services:
It is also useful to check the main services:
Summary:
In my case, the main issue was the internal CWP PHP 7.1 intl extension. After the CWP update downloaded the correct intl.so file, the update output became much cleaner.
Hope this helps someone seeing PHP intl warnings when running:
On one of my CWP / Control Web Panel servers, running the CWP update script was showing repeated PHP warnings related to the internal CWP PHP 7.1 intl extension.
The update was started with:
sh /scripts/update_cwpBefore the fix, the warning looked like this:
PHP Warning: PHP Startup: Unable to load dynamic library 'intl'
libicui18n.so.50: cannot open shared object file: No such file or directoryAfter investigation, the warning was coming from the internal CWP PHP configuration:
/usr/local/cwp/php71/php.d/intl.iniThe check command was:
/usr/local/cwp/php71/bin/php --iniIt showed:
Additional .ini files parsed: /usr/local/cwp/php71/php.d/intl.iniIn my case, after cleaning the broken configuration and running the CWP update again, CWP downloaded a fresh intl.so file automatically:
--2026-07-01 10:27:25-- http://static.cdn-cwp.com/files/mail/intl.so
Saving to: ‘/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20170718/intl.so’TS="$(date +%F_%H%M%S)"
mv /usr/local/cwp/php71/php.d/intl.ini /usr/local/cwp/php71/php.d/intl.ini.disabled_$TS 2>/dev/null
systemctl restart cwpsrv
/usr/local/cwp/php71/bin/php -v 2>&1 | head -n 10intl.so 100% 465.11K 2.29MB/s in 0.2sThe update also reported that the needed ICU package was already installed:
package libicu69-69.1-4.el7.remi.x86_64 is already installedAfter that, the CWP update completed much cleaner.
The command used was:
sh /scripts/update_cwpThe successful update flow looked like this:
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
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 nginx.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl restart httpd.serviceImportant note: running the CWP update may restart or reload services like:
cwpsrv
httpd
nginxSo it is better to run it during a quiet time, because websites may briefly reload or monitoring may report a short downtime.
There were still a few harmless warnings related to root SSH authorized keys:
chattr: No such file or directory while trying to stat /root/.ssh/authorized_keys
sed: can't read /root/.ssh/authorized_keys: No such file or directory
chown: cannot access '/root/.ssh/authorized_keys': No such file or directory
chmod: cannot access '/root/.ssh/authorized_keys': No such file or directoryIn my case, this only meant that the file did not exist:
/root/.ssh/authorized_keysThis is not critical if you are not using root SSH key authentication.
There were also these messages:
chsh: Shell not changed.
chsh: Shell not changed.These are usually harmless and simply mean that the shell was already set or did not need to be changed.
After the update, I checked for failed services:
systemctl --failed --no-pagerIt is also useful to check the main services:
systemctl status cwpsrv httpd nginx -l --no-pagerSummary:
sh /scripts/update_cwp
/usr/local/cwp/php71/bin/php --ini
systemctl --failed --no-pager
systemctl status cwpsrv httpd nginx -l --no-pagerIn my case, the main issue was the internal CWP PHP 7.1 intl extension. After the CWP update downloaded the correct intl.so file, the update output became much cleaner.
Hope this helps someone seeing PHP intl warnings when running:
sh /scripts/update_cwpThe best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal
Last edit: 1 Εβδομάδα 6 Ώρες πριν by infogate.
Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.
- Forum
- Main Forum
- English Section
- CWP Control
- CWP Update: Fixed PHP intl Warning and Cleaned update_cwp Output on AlmaLinux
Χρόνος δημιουργίας σελίδας: 0.071 δευτερόλεπτα