CyberPanel 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?

6 replies
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

Sign in to reply