CyberPanel Community

Can't Change PHP Version

re
reasecret #1

I’m trying to change PHP version to 7.4 and using this command:
cp /usr/local/lsws/lsphp74/bin/php /usr/bin/

But its giving an error:
cp: cannot create regular file ‘/usr/bin/php’: Text file busy

How can I solve this?

2 replies
re
reasecret #2

Which process should I stop?

re
reasecret #3

I used " cp -f /usr/local/lsws/lsphp74/bin/php /usr/bin/" command and changed PHP version. Thanks.

Sign in to reply