Knowledgebase

Changing Your PHP Version for WordPress Print

  • wordpress, php, plugins, security, themes, woocommerce, errors, cpanel, domain, clientarea
  • 0

Newer PHP versions are faster and more secure. Older ones are eventually retired and stop receiving security patches.

Change the version

  1. In cPanel open MultiPHP Manager under Software.
  2. Tick the domain you want to change.
  3. Choose the version from the PHP Version dropdown on the right.
  4. Click Apply.

Which version to choose

Use the most recent version your theme and plugins officially support — PHP 8.1 or 8.2 for most current sites. Check Tools → Site Health in WordPress first; it warns if anything is incompatible.

Test after switching

Load the homepage, an inner page, the checkout if you run WooCommerce, and the admin dashboard. If you see a fatal error mentioning a deprecated function or a syntax error, switch back to the previous version immediately from the same screen, then update the plugin or theme responsible before trying again.

Missing PHP extension

If a plugin reports a missing extension after the switch, open Select PHP Version → Extensions and enable it there. Commonly needed extensions include imagick, intl, zip, curl, gd, mbstring and soap.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot