Need to change php version from 8.0.26. to 8.1 or higher

Hello, I could find information how to change php version of hosting.
I have laravel project of telegram bot the version of php used in devolping is 8.1
I need to install composer but it gives me errors becouse of wrong php version
here is the error:

  • Root composer.json requires php ^8.1 but your php version (8.0.26) does not satisfy that requirement.

I made a typo actually “I couldn’t find the solution”