New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

php 8.4

Started by HassanAG, March 05, 2025, 02:35:10 AM

Previous topic - Next topic

HassanAG

Greetings,

Its been a couple of months since php 8.4 was released, and it is containing a lot of updates and improvements.

I've updated my applications to this new version, but it is not supported by CWP yet. I really should apply my updates to my server as soon as possible.

Can you please add to the list of php versions to install? Making it a high priority request.

Or if there were instructions on how to add it manually to the server and use it in CWP domains.

Thank you.

Starburst

You can build PHP 8.4 manually until it gets added to the menu.

HassanAG

Will it be available in CWP admin dashboard and CWP User dashboard to assign it for some domains ?

If there is a guide would be appreciated.

cyberspace

It is possible to add custom PHP version but I don't have "HOWTO". Anyway look into the folders:

for Centos 8/Almalinux 8/RockyLinux 8:
/usr/local/cwpsrv/htdocs/resources/conf/el8/

Almalinux 9/RockyLinux 9:
/usr/local/cwpsrv/htdocs/resources/conf/el9/

There is clear structure, learn directory structure and files stored there to understand what email file does and then you will be able to add the custom PHP version.

HassanAG

Thank you for the reply.

I went to the mentioned directory (/usr/local/cwpsrv/htdocs/resources/conf/el8/)
I found 4 directories (php-fpm_selector , php_selector , php_switcher)
In each, there was a list of php versions .ini files (up to 8.3.ini), and (pre_run, external_modules) folders which also contains files related to each version.

I went through them all, creating symmetrical files for php 8.4 (8.4.4). It is now appearing in the CWP admin dashboard, when I check the version (8.4.4) and click on build, an empty log file of one line (Build successful), but on refreshing the page nothing is installed.

Are there other places need to be updated?

overseer

Did you actually separately install php 8.4? Those directories provide the functionality of allowing that new version to be selectable in CWP.

HassanAG

Quote from: overseer on March 06, 2025, 02:45:32 PM
Did you actually separately install php 8.4? Those directories provide the functionality of allowing that new version to be selectable in CWP.

No i didn't, I though5 CWP would install it. should I install it separately to specific folder ?