Assuming that your web hosting package comes with access to a
control panel web interface it may well give you the ability to define which version of PHP you want to run.
Below are links to articles on how to do this with some of the most common control panels used today:
Article last updated: 11th October, 2020