The default behavior of your account is for PHP settings to be inherited by sub-directories. That means that you can quickly test your site's compatibility with a specific version of PHP by setting the PHP handler of your home directory (public_html). Then simply test your website by opening it in your browser. We have added an easy to use plugin to configure your PHP version to your cPanel, follow these steps to use it:
- Login to your cPanel at http://YourDomain.com/cpanel
- From the home page locate the "Advanced" box and click on "PHP Configuration."
- Select the desired version of PHP from the drop-down menu and leave the default directory, click "Update" to submit the changes.
- You should see a confirmation message that reads: The ".php" file extension will be processed by for this account.
Please Note: Selecting "No Custom Handler (Sys Default)" means you're electing to utilize whichever version of PHP the server is set to use. Thusly, if your applications require a certain version of PHP, you will want to make sure to specifically select the needed version.