Hi everyone
I upgraded cyberpanel using the upgrade script (minor 2.3 build 2 commit upgrade), but after the upgrade I noticed that CLI php reverted to 7.1 (it was on 7.4).
I also noticed that /usr/bin/php was a symbolic link to /usr/local/lsws/lsphp74/bin so trying to do “/usr/local/lsws/lsphp74/bin -v” also showed me php 7.1 installed. So I believe that the upgrade somehow replaced lsphp74 with a 7.1 binary.
The solution was to reinstall lsphp74 with dnf reinstall and the situation was solved.
To make sure it was the upgrade that caused that, I ran the upgrade again and replicated the issue.
NAME=“AlmaLinux”
VERSION=“8.6 (Sky Tiger)”
I’m attaching some screenshots.