Control Web Panel
WebPanel => PHP => Topic started by: Starburst on November 10, 2024, 06:50:45 PM
-
I know CWP is probably still busy with tweaking CWP for AL9, but again, PHP came out with 8.2.25 and 8.3.13 on 2024-10-24 (a little over 2 weeks ago), but no update as of yet for CWP.
We've noticed another uptick in PHP attacks.
I know you can manually compile PHP, to do in mass is time consuming, but at this point might be an option.
-
Edit the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php-fpm_selector/versions.ini
(add the necessary PHP versions)
and then try to compile PHP-FPM.
-
Thanks for the PHP-FPM tip.
We use allot of just PHP-CGI, which uses the main PHP Selector.
Using Sandeep's method we can update manually.
I don't know how much coding is required on the CWP backend to add new version when they come out.
Sometime they are on top of it, other times they skip a point release, and then add 2 when it updates again.
-
1. You just need to add the version number and nothing else.
2. For main php version (php switcher) modify the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php_switcher/versions.ini
-
PHP 8.4.1 just got released today (2024-11-21)
Along with 8.1.31, 8.3.14 and 8.2.26
Anyone planning on deploying 8.4 yet?
-
Well PHP released on 2025-01-17:
8.4.3
8.3.16
Both of which have bug fixes/patches.
Thankfully no CVE's.
-
1. You just need to add the version number and nothing else.
2. For main php version (php switcher) modify the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php_switcher/versions.ini
Trying this with 8.3.16, will also try with 8.4, and create that .ini from a copy of 8.3
-
Edit the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php-fpm_selector/versions.ini
(add the necessary PHP versions)
and then try to compile PHP-FPM.
Nice but it fails to download the php.
-
1. You just need to add the version number and nothing else.
2. For main php version (php switcher) modify the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php_switcher/versions.ini
Tried, but didn't work. :/
-
PHP version where updated on 2025-05-08 to:
PHP 8.4 - 8.4.7
PHP 8.3 - 8.3.21
Unfortunately, now, CWP is 2 versions behind. :/