How do I change the PHP version of WordPress?

Also remember to select the correct directory when multiple WordPress sites are installed on the same server. Choose “public_html” option for changing the version at account level. Then you will be shown the list of available PHP versions supported by the hosting company. Select the official recommended version by WordPress and save your changes.
For More Information Please Refer:
You May Also Like to Read: