Control Web Panel

WebPanel => PHP Selector => Topic started by: wmac on October 15, 2020, 07:06:55 AM

Title: CWP says PHP version is 5.3 for the account but it is 7.2
Post by: wmac on October 15, 2020, 07:06:55 AM
Hello,

I have selected php v5.3 for an account (and an additional domain in it).

The CWP user panel says the PHP version is 5.3 (in PHP version selection section). I even checked the apache config for the vhosts and I see it uses the fpm proxy of v5.3.

However running phpinfo() shows that the default php 7.2 is active for both the account and additional domain on it.

I am sure it is v7.2 that is running because functions of php 5.3 are not wirking.

Could someone please help?


Title: Re: CWP says PHP version is 5.3 for the account but it is 7.2
Post by: studio4host on October 15, 2020, 09:52:39 AM
contact cwp support to check on your server
control-webpanel.com/contact
Title: Re: CWP says PHP version is 5.3 for the account but it is 7.2
Post by: wmac on October 15, 2020, 10:00:18 PM
Thank you very much for the response.

It appears that the contact form might have a problem. I put the output of the curl command and my message in it but it could not send it (captcha was right but waiting sign moved for ever).

Regards
Title: Re: CWP says PHP version is 5.3 for the account but it is 7.2
Post by: rafaelsantos on May 27, 2021, 02:36:00 AM
Hi, I have the same problem.
I install php-fpm 5.6, select this on client panel php selector, but phpinfo() shows php default version 7.4.
I have one account on same server working fine. But, in this second account not working.
This second account has created from cpanel account backup.
Title: Re: CWP says PHP version is 5.3 for the account but it is 7.2
Post by: rafaelsantos on May 28, 2021, 12:12:43 AM
The problem is solved when you access the site through the domain. If accessing by IP, the php selector does not work.