Can't Change PHP Version

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?

Which process should I stop?

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