Control Web Panel
WebPanel => CentOS-WebPanel GUI => Topic started by: Purelaise on November 07, 2025, 10:20:15 AM
-
Hi All,
Looks like the php version for port 2083 user panel is actually PHP 7.2.30 (cli) (built: Apr 29 2020). Which is crazy. Is there any known method to update this to newer PHP or any protections that can be put in place?
Thanks
-
Hi,
In CWP admin panel:
https://hostname.com:2087/
Go to "PHP Version Switcher" in the section "PHP Settings". You will be able to select and compile more modern PHP version for CWP here.
Note it will change the primary PHP version on your server/VPS.
-
Yes, that's the unfortunate reality. CWP's internal PHP version is locked to 7.2.30 -- but this is only for their internal services (ports 2030, 2031, 2083, 2087, 2095, 2096). It would be better if they could get onto 7.4 for internal use or best if they could get onto a supported 8.x branch. https://endoflife.date/php (https://endoflife.date/php) But I suppose their goal is to have a static, predictable PHP version that performs identically across systems. Hard to know for sure without code review that isn't possible with IonCube encoded PHP files.
You can set the system-wide PHP version, including the CLI as Cyberspace described.