How to use php version 8.2.4 or 8.1.7?

When you run php -v what do you get ?

If its not php 8.2.4 or whichever you prefer then you need to Change default php to v8.0 - #10 by josephgodwinke