Author Topic: php 8.4  (Read 198 times)

HassanAG and 1 Guest are viewing this topic.

Online
*
php 8.4
« on: March 05, 2025, 02:35:10 AM »
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.

Offline
*****
Re: php 8.4
« Reply #1 on: March 05, 2025, 01:32:13 PM »
You can build PHP 8.4 manually until it gets added to the menu.

Online
*
Re: php 8.4
« Reply #2 on: March 05, 2025, 05:25:18 PM »
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.

Offline
***
Re: php 8.4
« Reply #3 on: March 05, 2025, 07:33:38 PM »
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.

Online
*
Re: php 8.4
« Reply #4 on: March 06, 2025, 11:11:26 AM »
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?

Offline
*****
Re: php 8.4
« Reply #5 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.

Online
*
Re: php 8.4
« Reply #6 on: March 06, 2025, 06:14:56 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 ?