Control Web Panel

WebPanel => PHP => Topic started by: cHAp on August 06, 2025, 01:22:11 PM

Title: When will PHP 8.4 be released in CWP?
Post by: cHAp on August 06, 2025, 01:22:11 PM
Hello,

When can we expect PHP 8.4 to be available in CWP? I couldn't find an answer in the forum itself!

Best regards,
cHAp
Title: Re: When will PHP 8.4 be released in CWP?
Post by: overseer on August 06, 2025, 02:43:25 PM
Starburst maintains an "anti-changelog" about PHP versions currently available on CWP, and their current status vs. current releases of PHP. You could watch that thread for more details about PHP 8.4:
https://forum.centos-webpanel.com/php/anti-change-log/
Title: Re: When will PHP 8.4 be released in CWP?
Post by: cHAp on August 06, 2025, 02:57:22 PM
Thank You
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Starburst on August 06, 2025, 05:40:28 PM
I hope soon.

CPW have released 3 updates, and haven't even updated PHP 8.1, 8.2 or 8.3 yet.
And even I can't get an answer to this.

You can manually update PHP to 8.4 and just starting working on that KB article.
Let me verify the process, and I'll post a link when ready. Hopefully within 24 hours. Send Coke...  8)

Been busy with the ConfigServer FAQ Archive stuff on the KB. (Still a work in progress)
I'm hopeful he will release the code under GPL so it can continue to be developed.
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Starburst on August 06, 2025, 09:49:54 PM
OMG...

PHP 8.4 isn't as easy to get compiled & installed as previous versions.
Not sure what they changed, but it keeps erroring.  :-\
And since this is a computer program, C4 found a problem it can't fix...  :o

But I am still working on it.  :o
Title: Re: When will PHP 8.4 be released in CWP?
Post by: overseer on August 07, 2025, 01:17:37 AM
We'll GoFundYou a case of Cokes...
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Starburst on August 07, 2025, 03:31:05 AM
OK, got 1 way to work.

Surprisingly some extensions don't support PHP 8.4 yet like IMAP. Only has support up to 8.3.24.

But anyways...

https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/install-php-8-4-in-control-web-panel-cwp-on-almalinux-9-from-repos/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/install-php-8-4-in-control-web-panel-cwp-on-almalinux-9-from-repos/)
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Martins-phpbb on August 07, 2025, 10:24:02 AM
OK, got 1 way to work.

Surprisingly some extensions don't support PHP 8.4 yet like IMAP. Only has support up to 8.3.24.

But anyways...

https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/install-php-8-4-in-control-web-panel-cwp-on-almalinux-9-from-repos/ (https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/install-php-8-4-in-control-web-panel-cwp-on-almalinux-9-from-repos/)

Went well buddy thankyou Can you do a KB article on getting a complete snapshot or back up of the server i have used a few tools but they seem to fail on me.
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Starburst on August 07, 2025, 12:52:41 PM
Went well buddy thankyou Can you do a KB article on getting a complete snapshot or back up of the server i have used a few tools but they seem to fail on me.

That would be up to your provider on how to make a snapshot or backup.

Every provider is different in the way they do it.

Check their KB, they should have instructions.
If not, contact their support.
Title: Re: When will PHP 8.4 be released in CWP?
Post by: Starburst on August 08, 2025, 06:49:46 AM
@cyberspace

Could use some help, if you have time.

Got PHP 8.4 mostly working, but on AL9 with CWP 0.9.8.1210, when I try to install imap from pecl, I keep getting:

Quote
# pecl install imap
pecl/imap requires PHP (version >= 8.3.0), installed version is 8.0.30
No valid packages found
install failed

Quote
# php -v
PHP 8.4.11 (cli) (built: Aug  7 2025 02:36:15) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.11, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v14.4.1, Copyright (c) 2002-2025, by ionCube Ltd.