Fix Guide

How to Update PHP on Your WordPress Hosting

February 8, 2026

Running an outdated PHP version is both a security risk and a performance bottleneck. Here is how to safely update PHP on your WordPress hosting.

Before You Update

  1. Create a full backup — Database and files. Use UpdraftPlus, BackWPup, or your host's backup tool.
  2. Check compatibility — Use the "PHP Compatibility Checker" plugin to scan your plugins and themes for compatibility issues.
  3. Use a staging environment — If available, test the PHP upgrade on a staging copy first.

How to Change PHP Version

cPanel Hosting

  1. Log in to cPanel.
  2. Find "Select PHP Version" or "MultiPHP Manager".
  3. Select your domain and choose the new PHP version.
  4. Click "Apply".

Plesk Hosting

  1. Go to Websites & Domains → PHP Settings.
  2. Select the new PHP version from the dropdown.
  3. Click "Apply" or "OK".

Managed WordPress Hosting

Providers like Kinsta, WP Engine, and SiteGround offer PHP version switching in their custom dashboards. Look for "PHP Engine" or "PHP Version" in your site's settings.

After Updating

  1. Visit your site and check for errors
  2. Test critical functionality (forms, checkout, login)
  3. Check the WordPress admin dashboard for plugin warnings
  4. Monitor error logs for 24 hours

Verify with InspectWP

Run a new InspectWP scan — the hosting section should show the updated PHP version.

Check your WordPress site now

InspectWP analyzes your WordPress site for security issues, SEO problems, GDPR compliance, and performance — for free.

Analyze your site free