How To Select a PHP Version
If your hosting provider allows you to select the version of PHP that your website uses, use this section of the interface to make your selection.
To select a PHP version, perform the following steps:
1 – Open cPanel (yourdomain/cpanel).
2 – Click on (PHP) from Software section.
3 – From the menu, select the version of PHP that you wish to use. Select System Default to use the version that your hosting provider selected.
4 – Click Update.