It’s always a good idea to use the latest version of PHP. For some time 2-3 PHP versions will be supported, but in the end the old ones will be discontinued. So, whenever possible, use the latest version.
We will show below how to change the PHP version for your site from cPanel.
The steps are:
- Log into your cPanel account.
- Go to MultiPHP Manager under the Software Section
- Select the domain for which you want to change the PHP version.
- From the right drop down list select the desired PHP version. If you choose the inherit option the site will use the default PHP version which is listed at the top of the page.
- Click the Apply button. The site is using now the PHP version you selected.