Additionally, be sure your cron command is running the exact same php version with your hosting account/domain where phpvms runs.
Running phpvms with php8.1 but trying to run cron with php8.0 or php8.2 will cause failure. So whenever you try different php versions, or update them be 100% sure that cron is using the same php executable.
Good luck