How to Change the PHP Version for a Hosting Account

Your hosting account comes with a selection of PHP versions that you can choose from, including PHP 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6, 5.5, 5.4, and 5.3.

Our recommendation is to always use the latest version of PHP to ensure that you are covered by the latest security updates and benefit from ongoing improvements.

This easy tutorial shows you how to change the PHP version for your hosting account should your PHP apps require a specific version of PHP.

To change the PHP version:

  1. Sign in to your HostM hosting account’s cPanel.

    Your cPanel access details are listed on the hosting account’s Info page in the Client Lounge.

  2. Click the Select PHP Version icon.

  3. Click the PHP Version dropdown menu on the top left.

  4. Select the desired PHP version.

  5. Click Set as current to the right of the newly-selected PHP version.

  6. At this stage, we also recommend clicking the Reset to default button in the upper right corner, just to ensure that the checkboxes are set to our recommended defaults.

    You can always then adjust the various checkboxes afterwards if your web apps require something extra, but this is not necessary in most cases.

Your selected PHP version should take effect immediately for your hosting account. Be sure to check that your site(s) are loading correctly at this point.

Love our guides? HostM offers professional and helpful web hosting services with unlimited features and renewal rates that actually match our advertised rates.