Quote from: uma on <strong>Today</strong> at 10:25:32 AMHello,
OS: AlmaLinux release 8.10 (Cerulean Leopard)
Kernel Version: 4.18.0-553.180.1.el8_10.cwpsec.x86_64
CWP: Free version
Apache version: Apache/2.4.71
PHP version: 8.2.35
MySQL version: 10.3.39-MariaDB
Unable to update CWP version to latest stable:
[root@ ~]# sh /scripts/update_cwp
panel PHP cannot use pcre with /usr/local/lib/libpcre2-8.so.0 - rebuilding pcre2 with JIT
libtool: warning: relinking 'libpcre2-posix.la'
pcre2 rebuilt with JIT
panel PHP pcre still failing
diagnostics: /usr/local/lib/libpcre2-8.so /usr/local/lib/libpcre2-8.so.0 /usr/local/lib/libpcre2-8.so.0.10.4
/usr/local/lib/libpcre2-8.so.0 -> /usr/local/lib/libpcre2-8.so.0.10.4; SELinux: Disabled; kernel: 4.18.0-553.180.1.el8_10.cwpsec.x86_64
panel PHP is unknown, code 1.30: running the 8.3 migration/recovery before the update
/scripts/update_cwp: line 34: /usr/local/cwp/php71/bin/php: No such file or directory
[root@ ~]#
request to guide further.
Hi,
I recently experienced a very similar issue on AlmaLinux 8.10 with CWP LTS, including exactly the same PCRE2 errors during the update.
In my case, the problem started after CWP automatically installed cwpphp 8.3.37-1.el8. Upgrading to cwpphp 8.3.37-2.el8 resolved the issue, and I was then able to update CWP to version 1.30.32 without errors.
I've documented the troubleshooting, comparisons and final solution in this thread:
https://forum.centos-webpanel.com/centos-webpanel-bugs/cwp-lts-php-8-3-37-pcre2-ioncube-issues/
However, your case is slightly different because `/usr/local/cwp/php71/bin/php` appears to be missing, whereas it was present on my server.
I'd recommend checking which cwpphp package is installed and whether the PHP executable exists before attempting the same fix:
rpm -q cwpphp
ls -l /usr/local/cwp/php71/bin/php
Hope this helps!