How Do I Update PHP in WordPress Cpanel?

Updating PHP Version in WordPress

  1. Log in to your hosting account and navigate to cPanel.
  2. Go to the Software section and click on Select PHP Version.
  3. Select the PHP version from the drop-down list.
  4. Click Set as current to update the PHP version.
  5. On the Dashboard, click Tools, then Site Health to check the updated PHP settings.
  6. Check if current themes or plugins are compatible with the new PHP version.
  7. Contact your hosting company if you cannot find the option for updating PHP version on your cPanel.

Why Update PHP?

  • Updating an insecure PHP version improves security.
  • PHP major versions last two years after release.
  • Newer PHP versions are faster and more secure.
  • Updating PHP gives confidence when visiting your site.

Before Updating PHP

  • Always backup your site before updating PHP to revert if needed.
  • Check if current themes or plugins are compatible with the new PHP version.

How to Change PHP Version in cPanel Manually

  1. Log in to your hosting account and navigate to cPanel.
  2. In the Software section, click Select PHP Version.
  3. Choose the PHP version from the drop-down list and click Set as current to update.
  4. On the Dashboard, under Tools, click Site Health to check the updated PHP settings.
  5. Contact your hosting provider if you cannot find the option to update PHP.

Checking Current PHP Version

  • Go to Site Health to check the PHP version running on your WordPress site.

Leave a Comment