Community

PHP Version change stuck

OM
Ogün Meriçligil #1

PHP verison changes are sometimes not reflected, it seems to have changed on the cyberpanel, but it does not happen when viewed with phpinfo, until the server restarts completely, how can we fix this?

OM
Ogün Meriçligil #3

Thank you @ctorres,

[02.07.2022_11-33-45] [Errno 2] No such file or directory: ‘/home/domain.com/.lsphp_restart.txt’ [IO Error with per host config file [changePHP]

[02.07.2022_11-33-47] [Errno 2] No such file or directory: ‘/home/anotherdomain.com/.lsphp_restart.txt’ [IO Error with per host config file [changePHP]

[02.07.2022_11-33-48] [Errno 2] No such file or directory: ‘/home/antother2.com/.lsphp_restart.txt’ [IO Error with per host config file [changePHP]

NK
Nitesh Kunnath #4

After updating PHP, you need to restart PHP atleast for the changes to take effect.

sh
shoaibkk #5

Run
killall lsphp
then systemctl restart lsws
and check

OM
Ogün Meriçligil #6

@die2mrw007 thank you but php restart not solve this im trying before,

i am waiting to encounter the same error again i will try @shoaibkk 's method

OM
Ogün Meriçligil #7

Happened to me again today, I tried @shoaibkk method, still didn’t work

I couldn’t find the problem but I found the solution,

“Websites > List Websites > Manage” doesn’t work if you do it from here.
(https://mycyberpaneldomain.com:8080/websites/example.com)

However
“Websites > Modify Website”
(https://mycyberpaneldomain.com:8080/websites/modifyWebsite)
If you do it from here, yes working, the process is successful.

It seem like a bug.

Sign in to reply