PHP is the programming language that powers WordPress, Joomla, and most web applications. Newer PHP versions are significantly faster and more secure. Upgrading from PHP 7.4 to 8.2 can improve page load times by 20-40%.

Why Upgrade?

  • Speed: PHP 8.x is measurably faster than 7.x (JIT compiler, performance improvements)
  • Security: Older PHP versions stop receiving security patches
  • Compatibility: WordPress 6.4+ recommends PHP 8.1 or newer. Some plugins require it.
  • Features: Newer PHP versions support modern coding patterns your themes and plugins can use

Check Your Current PHP Version

In WordPress

Go to Tools > Site Health > Info > Server. The PHP version is listed there.

In cPanel

Go to MultiPHP Manager. Your current version is shown next to each domain.

Upgrade PHP on cPanel

  1. Log in to cPanel
  2. Go to MultiPHP Manager
  3. Check the box next to your domain(s)
  4. Select the new PHP version from the dropdown (e.g., PHP 8.2 or 8.3)
  5. Click Apply

The change takes effect within seconds. No server restart needed.

Change PHP Settings

If you need to adjust PHP settings (memory, upload size):

  1. Go to MultiPHP INI Editor
  2. Select your domain
  3. Adjust settings:
SettingRecommended ValueWhat It Does
memory_limit256M (512M for WooCommerce)Max memory PHP can use
max_execution_time120Seconds before a script times out
upload_max_filesize64MMax file upload size
post_max_size64MMax POST data size
max_input_vars3000Important for complex forms and page builders

Upgrade PHP on Enhance

  1. Go to Websites > select your domain
  2. Click the Advanced tab
  3. Change the PHP Version dropdown
  4. The change applies immediately

Before You Upgrade

1. Check Plugin Compatibility

Not all plugins support the latest PHP. Before upgrading:

  1. Go to Plugins > Installed Plugins
  2. Check each plugin’s WordPress.org page for PHP compatibility info
  3. Update all plugins to their latest versions first
  4. Pay special attention to older plugins that haven’t been updated in 12+ months

2. Check Theme Compatibility

Your theme must support the PHP version you’re upgrading to. Check the theme developer’s changelog or documentation.

3. Create a Backup

Always back up before changing PHP versions:

  • cPanel: Use Backups or JetBackup
  • Enhance: Use built-in Backups

If you have a staging site, test the PHP upgrade there first. This catches compatibility issues before they affect your live site.

Troubleshooting

ProblemFix
White screen after upgradeA plugin or theme is incompatible. Switch back to the old PHP version, then disable plugins one by one to find the culprit.
“Parse error” or “syntax error”A plugin uses outdated PHP syntax. Update or replace the plugin.
Site works but some features brokenCheck error logs in cPanel > Errors for specific function deprecation warnings.
WooCommerce checkout brokenClear all caches (LiteSpeed Cache, browser). Some caching issues appear as PHP errors.

Rolling Back

If the upgrade causes problems, simply go back:

  1. cPanel: MultiPHP Manager > select old version > Apply
  2. Enhance: Advanced tab > change version back

The rollback is instant.

PHP Version Lifecycle

PHP VersionStatusSupport Until
7.4End of LifeNo longer supported
8.0End of LifeNo longer supported
8.1Security fixes onlyDec 2025
8.2Active supportDec 2026
8.3Active supportDec 2027

Rule of thumb: Always run the newest PHP version that your plugins and theme support. At minimum, never run a version that’s past End of Life.

Last updated 19 Apr 2026, 23:46 +0300. history

Was this page helpful?