Author Topic: php 7.2 and 7.3 do not work on centos-webpanel  (Read 4525 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
php 7.2 and 7.3 do not work on centos-webpanel
« on: November 05, 2020, 03:15:34 PM »
Hi

I use CWPpro version: 0.9.8.1021.

I add php 7.2 and 7.3 in my php selector. And then change php version in my client account. So after change, that site appear 500 Internal Server Error. The following is my link with check php info.

http://144.217.209.160/~degrcc/phpinfo.php

Here is my log.

[Thu Nov 05 21:54:32.254781 2020] [:error] [pid 15501:tid 140075769636608] [client 116.206.138.144:29311] SoftException in Application.cpp:542: Could not execute script "/home/degrcc/public_html/index.php"
[Thu Nov 05 21:54:32.254888 2020] [:error] [pid 15501:tid 140075769636608] [client 116.206.138.144:29311] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory
[Thu Nov 05 21:54:32.255003 2020] [core:error] [pid 15501:tid 140075769636608] [client 116.206.138.144:29311] End of script output before headers: index.php

So php selector installer has errors. So please fix php version bugs.
Cause our CMS need higher version of php and if panel can not support higher php version, we will suffer a big problems.
« Last Edit: November 05, 2020, 03:33:11 PM by kokogyi »

Offline
*****
Re: php 7.2 and 7.3 do not work on centos-webpanel
« Reply #1 on: November 27, 2020, 12:58:15 AM »
Usually you get the 500 error due to permissions.
Try to run Fix User Permission under User Accounts.

CWP doesn't create or have a /php-cgi folder, you might want to check your scripts config for that one.

We have the latest 7.4.12 running on CWPpro .1023 with CentOS 8 without problems.

Offline
*
Re: php 7.2 and 7.3 do not work on centos-webpanel
« Reply #2 on: November 28, 2020, 01:16:19 AM »
the best way to access your domain is by placing domain to your computer local hosts file
https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.