WordPress PHP Version: How to Check and Update It Safely
Your WordPress PHP version is the single most important number on your site that you have probably never looked at. PHP is the programming language WordPress is written in, and every page, post, plugin, and theme on your site runs on top of it. When your PHP version is old, your site is slower than it should be, your plugins start dropping support for it, and security flaws in the language itself stop getting fixed. When it is current, your site runs faster, your plugins stay compatible, and the next PHP vulnerability gets patched before it ever reaches you. Checking the number takes about two minutes. Updating it safely takes about half an hour. This guide shows you both, step by step, with the checks that keep an update from breaking your site.
Most WordPress owners never touch their PHP version because nobody tells them it exists. You install WordPress, you pick a theme, you write posts, and the language underneath hums away invisibly. Your host picks a default PHP version when your account is created, and that default stays put for years unless someone changes it. That is how sites end up running PHP 7.4 in 2026, four years after the PHP project stopped releasing security fixes for it. Nothing on the dashboard warns you loudly enough. Site Health will flag it, quietly, in a panel most owners never open. Meanwhile the site still loads, the posts still publish, and everything feels fine, right up until the day a plugin update refuses to install, a theme breaks, or a flaw like PHP2Shell turns an old language version into an open door.
That is why this guide exists, and why it follows the security checklist from the previous post. The WordPress security plugin checklist showed you the fifteen steps that harden a site, and step two of that checklist was checking and updating your PHP version. This post is the full version of that step. You will learn what PHP version your site runs today, which version it should run, how to check it four different ways, how to update it without breaking anything, and exactly what to do if something goes wrong after the switch. If you run a WordPress site and you have never checked this number, this is the most valuable half hour you will spend on your site this year.
Quick Takeaways
- Your WordPress PHP version is the language version your whole site runs on: old versions are slower, lose plugin support, and stop receiving security fixes.
- PHP 7.4, 8.0, and 8.1 are all end of life. PHP 8.2 loses its last security fixes on 31 December 2026. If you run any of those, plan the update now.
- The safe target for most sites in late 2026 is PHP 8.4 or 8.5. Both are in active support, and both run WordPress faster than anything older.
- The fastest way to check your version is Tools, then Site Health, then Info, then Server, right inside your WordPress dashboard. No code, no hosting panel, no plugin.
- Never update PHP without a backup first. A backup plus a staging test turns a scary switch into a reversible one.
- If the site breaks after an update, switch the PHP version back in your hosting panel first and ask questions later. The downgrade is the fix, and it takes two minutes.
- A phpinfo file shows your version in seconds, but it also shows attackers your server details. Create it, read it, delete it in the same session.
Why Your WordPress PHP Version Matters More Than You Think
A WordPress site has three layers, and most owners only ever look at one of them. The top layer is WordPress itself: the dashboard, the themes, the plugins, the content. The middle layer is the database. The bottom layer is the server, and PHP is the foundation of that bottom layer. Every request to your site runs PHP code. Every plugin you install is PHP code. Every theme file is PHP mixed with HTML. When the language underneath has a flaw, no plugin and no theme update can protect you, because the vulnerable code is not in WordPress at all. It is underneath WordPress, in the engine that runs it.
October 2026 proved the point. On 21 October 2026, the PHP project released emergency patches for two critical remote code execution flaws grouped as PHP2Shell, both rated CVSS 9.2 out of 10. The patched builds were issued only for supported branches: PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Sites running PHP 8.1 or older got source-level fixes only, which meant waiting for a host or operating system vendor to repackage them, if that ever happened. The sites that were already on a supported PHP version patched in minutes. The sites on dead versions waited, and some are still waiting. Your WordPress PHP version decides which group you are in the next time a flaw like that is disclosed, and the next disclosure is a matter of when, not if.
Speed is the second reason, and it is the one you feel every day. Each major PHP release makes WordPress measurably faster. PHP 8.0 was roughly twice as fast as PHP 7.4 on typical WordPress workloads. PHP 8.1 and 8.2 added more, and 8.3 and 8.4 kept the gains coming. A site that moves from PHP 7.4 to PHP 8.4 can cut its page generation time nearly in half without changing a single plugin or theme. That is free performance, and it shows up directly in Core Web Vitals, in search rankings, and in the experience of every visitor who waits for your pages to load. There is no plugin that gives you the same gain for the same effort, because the gain comes from the engine, not from an add-on.
Compatibility is the third reason, and it is the one that eventually forces the issue. Plugin and theme developers follow the PHP support schedule. When a PHP branch dies, developers stop testing against it, then they stop supporting it, then they require a newer version and their updates simply refuse to install on your site. WooCommerce, Yoast SEO, Elementor, and most major plugins already require PHP 7.4 as an absolute minimum, and several have moved their minimum to 8.0 or 8.1. WordPress itself still runs on PHP 7.4, but its own documentation recommends PHP 8.1 or newer, and every new WordPress release is tested hardest on current PHP. Staying on an old version does not freeze your site in a safe place. It strands it on a shrinking island while everything around it moves on.
The fourth reason is the calendar. PHP 8.2, which a huge share of WordPress sites still run, receives its last security fixes on 31 December 2026. That date is weeks away. After it, a flaw found in PHP 8.2 will never receive an official patch, and the only fixes will come from hosts that pay for extended support or from nobody at all. If your site runs PHP 8.2 today, you are not in trouble yet, but you have a deadline, and the update you do in November is calm and tested while the update you do in January is rushed and panicked. The same logic applies to every version: the right time to update PHP is while the old version still works, not after it stops being safe.
Which PHP Version Should Your WordPress Site Run?
The PHP project supports each branch for four years: two years of active support with bug fixes and security fixes, then two years of security fixes only. After that the branch is end of life, and no official patch is ever released for it again, however serious the flaw. The table below shows where every recent branch stands in November 2026, with dates from the official php.net supported versions list.
| PHP version | Released | Security fixes end | Status in November 2026 |
|---|---|---|---|
| 7.4 | November 2019 | 28 November 2022 | End of life — no fixes for four years |
| 8.0 | November 2020 | 26 November 2023 | End of life — no fixes for three years |
| 8.1 | 25 November 2021 | 31 December 2025 | End of life since the start of 2026 |
| 8.2 | 8 December 2022 | 31 December 2026 | Security fixes only, ending in weeks |
| 8.3 | 23 November 2023 | 31 December 2027 | Security fixes only |
| 8.4 | 21 November 2024 | 31 December 2028 | Active support until 31 December 2026 |
| 8.5 | 20 November 2025 | 31 December 2029 | Active support |
| 8.6 | November 2026 | 2030 | Release candidates in early November 2026 — check your host before choosing it |
The recommendation follows directly from that table. If your site runs PHP 7.4, 8.0, or 8.1, update now: those versions receive no security fixes at all, and every month you stay on one is a month with no safety net. If your site runs PHP 8.2, update before 31 December 2026, while you still have time to test properly. If your site runs PHP 8.3, you are safe for another year, but planning the move to 8.4 or 8.5 now means you do it calmly instead of under a deadline. The target for most sites is PHP 8.4 or 8.5. Both are in active support, both run WordPress well, and both give you years before the next forced move. PHP 8.5 is the newest and has the longest runway, to the end of 2029. PHP 8.4 is the more widely tested choice today, because it has been out for two years and every major plugin has been tested against it. If your host offers both and your plugins support both, pick 8.5 for the longer runway. If a plugin you depend on lists 8.4 as its maximum tested version, pick 8.4 and revisit 8.5 in a few months.
Two cautions belong here. First, newer is not automatically better for your specific site. A plugin that has not been updated in three years may break on PHP 8.4 even though WordPress itself runs fine. That is why the safety checklist and the staging test later in this guide matter: they catch the one incompatible plugin before your visitors do. Second, WordPress itself is not the constraint. WordPress still lists PHP 7.4 as its minimum, and it runs on every version in the table. The constraint is your plugins, your theme, and the security calendar. Choose the version that satisfies all three, not just the one that WordPress tolerates.
How to Check Your WordPress PHP Version
There are four reliable ways to find your version, and they agree with each other. Start with the first one, because it needs nothing but your WordPress login. Use the others when you want a second opinion, when the dashboard is unreachable, or when you manage sites for clients and want the fastest possible check.
Method 1: Site Health in Your WordPress Dashboard
This is the method every site owner should know, because it is built into WordPress and it takes less than a minute. Log in to your dashboard, go to Tools, then Site Health, then click the Info tab at the top. Scroll down to the Server section and expand it. The first line tells you your PHP version, written as something like 8.2.35 or 7.4.33. While you are there, read the rest of the Server section: it shows your MySQL or MariaDB version, your web server software, and your memory limit, all of which are useful when a plugin asks for them. Site Health also shows a warning on its Status tab when your PHP version is below the recommended one, so if you see a notice about PHP there, that is WordPress itself telling you to update. This method works on every host, needs no special access, and cannot break anything. If you only learn one method from this guide, learn this one.
Method 2: Your Hosting Control Panel
Your hosting panel shows the PHP version your account is configured to use, and it is also where you will change it later, so learning to find it now saves a step later. In cPanel, look for MultiPHP Manager under the Software section, or Select PHP Version on hosts that use CloudLinux. MultiPHP Manager lists every domain on your account with its current PHP version next to it. On SiteGround, open Site Tools, then Dev, then PHP Manager, and the version for each site is listed there. On Kinsta, open your site in MyKinsta, then Tools, and the PHP engine version is shown with a change button beside it. On Cloudways, open your server, then Settings and Packages, and the PHP version is listed there. Managed WordPress hosts such as WP Engine and Flywheel show the version in the site overview or under Advanced settings. The exact labels differ, but the pattern is the same on every host: a PHP settings page, a version number, and a dropdown to change it. If you cannot find it, search your host’s help pages for “change PHP version” plus the host name. Every major host documents this, because it is one of their most common support questions.
Method 3: A phpinfo File
A phpinfo file is a tiny PHP file that prints a full page of information about your server’s PHP setup, starting with the exact version number at the top. It is the most complete check, and it is also the one that needs the most care, because the same page tells an attacker your server details. Create it, read it, and delete it in the same session, and never leave it on a live site.
Create a file called phpinfo.php in your site’s root folder, the same folder that contains wp-config.php, and put exactly this inside it:
<?php
phpinfo();
Upload it with your hosting file manager or FTP, then open https://yoursite.com/phpinfo.php in your browser. The version is the first thing on the page, in a large heading that reads “PHP Version 8.2.35” or similar. Below it are the loaded extensions, the configuration values, and the paths, which are useful when a plugin complains about a missing extension. When you have the number, delete the file immediately. A phpinfo page left on a live site is a gift to anyone probing your server: it lists your PHP version, your extensions, your paths, and your configuration in one convenient page. Some hosts block phpinfo files entirely, and some security plugins flag them. If your host blocks it, use Method 1 or 2 instead. There is nothing Method 3 tells you that the dashboard does not, except the extra detail, and the detail is not worth the risk of forgetting the file.
Method 4: A Plugin or WP-CLI
If you manage several sites, a plugin or a command line check is faster than opening each dashboard. The free Display PHP Version plugin adds your PHP version to the At a Glance box on the dashboard home screen, so you see it every time you log in. Query Monitor, the developer plugin, shows the PHP version in its admin bar menu along with the database version and the memory used by the current page. For command line users, WP-CLI gives you the answer in one command:
wp --info
That prints the PHP version, the PHP binary path, and the WordPress version together. If you run a server with several PHP versions installed, the command line version and the web version can differ, because the command line and the web server can be configured separately. When they disagree, trust the dashboard or the hosting panel, because those show the version your visitors actually get. The command line version only matters if you run WP-CLI tasks such as cron jobs or migrations.
| Method | What you need | Speed | Best for |
|---|---|---|---|
| Site Health dashboard | WordPress login | Under a minute | Every site owner, first check |
| Hosting control panel | Hosting login | Two minutes | Finding the version and changing it later |
| phpinfo file | File manager or FTP | Five minutes | Full server detail, then delete it |
| Plugin or WP-CLI | Plugin install or SSH | Seconds after setup | Managing many sites, developers |
Before You Update: The 15-Minute Safety Checklist
Updating PHP is a server change, and server changes deserve a short checklist. Fifteen minutes of preparation turns a risky switch into a routine one, and every item on this list exists because someone skipped it and paid for the skip. Work through the list in order, and do not start the update until every box is ticked.
First, take a full backup, and confirm it actually exists. A full backup means the database plus all the files: WordPress core, themes, plugins, uploads, and wp-config.php. Use your backup plugin or your host’s backup tool, run it now rather than relying on last night’s scheduled backup, and then check that the backup file is there and has a sensible size. A backup you have never looked at is a hope, not a plan. If your host offers one-click restore, confirm you know where that button is before you need it. The backup is what makes everything else on this list optional, because with a good backup any mistake is reversible.
Second, write down your current PHP version and your current WordPress, theme, and plugin versions. If something breaks after the switch, the first question you will ask is what changed, and the answer is the version number you are about to change. A note that says “PHP 8.2.35, WordPress 6.8, theme Astra 4.9, 18 plugins” takes thirty seconds to write and saves a confused hour later.
Third, check plugin and theme compatibility. Open each plugin’s page in the WordPress plugin directory and look at the “Requires PHP” line, or use the free PHP Compatibility Checker plugin, which scans your installed plugins and theme and reports code that will not run on your target version. Pay special attention to plugins that have not been updated in over a year. An abandoned plugin is the most common cause of a broken update, and the fix is usually to replace it before the switch rather than debug it after. If a plugin you depend on lists a maximum PHP version below your target, either stay on a lower target for now or replace the plugin. Do not discover the incompatibility on your live site.
Fourth, test on staging if your host offers it. A staging site is a copy of your live site where you can break things safely. Most managed hosts offer one-click staging, and many shared hosts do too. Clone the site to staging, switch the staging site’s PHP version, click through the important pages, submit a form, add a product to the cart, log in and out. If staging survives, live will almost certainly survive too. If your host has no staging, the fallback is to update at a quiet time and keep your backup and your hosting panel open, so you can switch back in two minutes if anything looks wrong.
Fifth, pick a quiet time and warn anyone who needs to know. A PHP switch itself takes seconds, but you want a few minutes afterwards to click through the site and check the important pages. Do it when traffic is lowest, not in the middle of a sale or a launch. If the site has other admins or an editor working on it, tell them the site will be briefly checked and may be briefly unavailable. A maintenance page, like the complete HTML example later in this guide, keeps visitors informed for the few minutes the switch takes.
How to Update Your WordPress PHP Version Safely
The actual switch is the easiest part of the whole process. You change a dropdown in your hosting panel, save, and the site restarts on the new version within seconds. The work is everything around the switch: the backup, the compatibility check, and the testing afterwards. Follow the steps in order, and keep your hosting panel open until you have finished testing.
Step 1: Run the Backup and the Compatibility Check
Do the backup and the compatibility check from the previous section first, and do not skip them because the site “looks fine”. The compatibility check is what tells you whether your target version is safe for your specific plugins. If the checker flags a plugin, deal with that plugin before you touch the PHP version. Either update it, replace it, or choose a lower PHP target that it supports. If the checker flags nothing, you can proceed with confidence. If you have a staging site, run the switch on staging first and click through the site there. A staging test that passes is the strongest evidence you will get that the live switch will pass too.
Step 2: Change the Version in Your Hosting Panel
In cPanel, open MultiPHP Manager, tick the checkbox next to your domain, choose your target version from the dropdown, and click Apply. The change is immediate. On SiteGround, open Site Tools, then Dev, then PHP Manager, click the pencil icon next to your site, choose the version, and confirm. On Kinsta, open MyKinsta, open your site, go to Tools, find PHP Engine, click Modify, choose the version, and confirm. On Cloudways, open your server, go to Settings and Packages, choose the version, and save. On WP Engine, open your site, go to the overview or Advanced settings, and change the PHP version there. Every host asks you to confirm, and every host applies the change within seconds. If your host does not list your target version at all, that means the host has not installed it yet. Contact support and ask when it will be available, or consider that a sign to look at hosts that keep their PHP versions current. A host that still offers nothing newer than PHP 8.1 in late 2026 is a host that is not keeping up.
Step 3: Test the Site Immediately
Load the home page, then click through five or six important pages: a blog post, a contact page, a product or service page, the login page. Log in to the dashboard and check that it loads without errors. Submit a contact form. If the site has a shop, add a product to the cart and start the checkout. Then open Tools, then Site Health, then Info, then Server, and confirm the PHP version now shows your target version. If everything works, the update is done. Clear any caching plugin and any server cache or CDN cache, because cached pages from the old version can mask a problem for hours. Then check the site once more the next day, because some problems only appear when a scheduled task runs or when a visitor does something unusual. If everything still works the next day, the update is finished and you can forget about PHP for another year or two.
Step 4: Update in Small Steps When You Are Far Behind
If your site runs PHP 7.4, do not jump straight to PHP 8.5 in one move. Big jumps cross several breaking changes at once, and if something breaks you will not know which version caused it. Move one or two branches at a time: 7.4 to 8.1, test, then 8.1 to 8.3, test, then 8.3 to 8.5, test. Each step takes a few minutes, and each test tells you exactly where a problem appeared. The same rule applies to very old WordPress versions. If the site runs WordPress 5.x, update WordPress itself first, then update PHP. The combination of an old WordPress and a new PHP is the most common cause of a white screen after an update, and it is entirely avoidable by updating in the right order: WordPress first, then plugins and themes, then PHP, testing after each step.
A Complete Maintenance Page for Update Day
A maintenance page is a simple HTML page that visitors see while your site is briefly unavailable. WordPress has a built-in maintenance mode, but a standalone HTML page is useful when the update itself is what might break the site, because it does not depend on WordPress working at all. Save the document below as maintenance.html, upload it to your site root, and point your host’s maintenance setting at it, or use it as a template for a plugin’s maintenance page. It is a complete, runnable HTML document: save it, open it in a browser, and it works exactly as shown. Change the site name, the message, and the colours to match your brand.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Our website is briefly unavailable while we update its software. Please check back in a few minutes.">
<title>We Will Be Back Shortly</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
background: #fdf2f5;
color: #333333;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.card {
background: #ffffff;
border-top: 6px solid #c2183f;
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
max-width: 560px;
width: 100%;
padding: 48px 40px;
text-align: center;
}
.badge {
display: inline-block;
background: #c2183f;
color: #ffffff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
padding: 6px 14px;
border-radius: 999px;
margin-bottom: 24px;
}
h1 { font-size: 30px; line-height: 1.25; margin-bottom: 16px; color: #1a1a1a; }
p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.note {
background: #fdf2f5;
border-radius: 8px;
padding: 16px;
font-size: 15px;
margin-top: 24px;
}
a { color: #c2183f; font-weight: 600; }
</style>
</head>
<body>
<main class="card">
<span class="badge">Brief Maintenance</span>
<h1>We Will Be Back Shortly</h1>
<p>We are updating the software that powers this website to keep it fast and secure. The work usually takes only a few minutes.</p>
<p>Please refresh this page shortly, or come back in ten minutes. Nothing you need has moved, and your account and orders are safe.</p>
<p class="note">If you need us urgently, email us at <a href="mailto:hello@example.com">hello@example.com</a> and we will reply as soon as the update is finished.</p>
</main>
</body>
</html>
Two notes about that page. First, the mailto link and the example email address are placeholders: replace them with your real contact address before you use the page. Second, remember to take the maintenance page down after the update. A site that stays in maintenance mode is worse than a site that was briefly unavailable, because visitors assume it is abandoned. Test the live site, confirm it works, then remove the maintenance page and confirm the home page loads normally.
What to Do When the Update Breaks Something
Most PHP updates go smoothly. When one does not, the symptoms are usually obvious and the fix is usually simple. Stay calm, work through the steps below in order, and remember that your backup and your old PHP version are both still there. Nothing about a PHP switch is permanent until you decide it is.
The most common symptom is the white screen of death: a blank white page where your site used to be, sometimes with a short error message such as “There has been a critical error on this website”. That message means a plugin or theme failed on the new PHP version. The fix is to switch the PHP version back in your hosting panel to the version the site ran before. The site will come back immediately, because the code that broke on the new version runs fine on the old one. Once the site is back, find the culprit before you try again: turn on WordPress debug mode, reproduce the error, and read the log.
To turn on debug mode, add these lines to wp-config.php, just above the line that reads “That is all, stop editing”:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Then reload the broken page and open wp-content/debug.log. The last lines of that file name the file and line that failed, and usually the plugin or theme that owns the file. Update that plugin, replace it, or remove it, then try the PHP switch again. When the site works, remove the debug lines or set WP_DEBUG back to false. A debug log left running on a live site slowly fills with notices and can expose paths and details you do not want public.
The second most common symptom is a specific feature breaking while the rest of the site works: a form that no longer submits, a checkout that fails, a gallery that shows nothing. That usually means one plugin is incompatible. Deactivate plugins one at a time from the dashboard, testing the feature after each one, until the feature works again. The last plugin you deactivated is the culprit. Check whether it has an update that adds support for your target PHP version. If it does, update it and reactivate it. If it does not, replace it. A plugin that breaks on a PHP version released two years ago is a plugin whose developer has stopped maintaining it, and that is a reason to replace it regardless of the update.
The third symptom is an error message that names a missing PHP extension, such as a missing intl, imagick, or zip module. Some hosts install a minimal set of extensions with each PHP version, and an extension your site relied on may not be enabled on the new one. In cPanel, open Select PHP Version, then the Extensions tab, and tick the missing extension. On other hosts, ask support to enable it. The phpinfo page from Method 3 lists every loaded extension, so comparing the old version’s extension list with the new version’s list will show exactly what is missing.
The fourth symptom is a slower site after the update, which is the opposite of what you expect. A slower site after a PHP update usually means the new version is running without OPcache, the bytecode cache that makes PHP fast. Ask your host whether OPcache is enabled for your new PHP version. On most hosts it is on by default, but some hosts disable it when you switch versions, and some require you to enable it yourself. If OPcache is on and the site is still slow, clear every cache: the caching plugin, the server cache, and the CDN. A stale cache from the old version can make the new version look slow for hours.
Common Mistakes When Updating PHP
| Mistake | Why it hurts | Do this instead |
|---|---|---|
| Updating with no backup | A broken site with no backup is a rebuild, not a restore | Take a full backup and confirm the file exists before the switch |
| Jumping from 7.4 straight to 8.5 | Several breaking changes at once, and no way to know which one broke the site | Move one or two branches at a time, testing after each step |
| Leaving a phpinfo file on the site | It publishes your server details to anyone who finds it | Create it, read it, delete it in the same session |
| Updating at peak traffic | A problem affects the most visitors at the worst moment | Update at the quietest hour, with a maintenance page ready |
| Forgetting the staging test | The live site becomes the test, and your visitors become the testers | Test on staging first, or keep the hosting panel open to switch back fast |
| Ignoring abandoned plugins | One unmaintained plugin is the usual cause of a white screen | Check compatibility first, replace abandoned plugins before the switch |
| Not clearing caches after the switch | Stale cached pages hide problems for hours | Clear the caching plugin, the server cache, and the CDN after updating |
| Leaving debug mode on | The debug log grows forever and can expose server paths | Turn debug off as soon as you have found the problem |
| Picking the newest version blindly | A host or plugin may not support it yet | Confirm the host offers it and the plugins support it before switching |
| Never checking again afterwards | PHP versions keep expiring, and the next deadline arrives quietly | Put a yearly reminder in your calendar to check the version |
Frequently Asked Questions
1. What is the WordPress PHP version, and where do I find it?
The WordPress PHP version is the version of the PHP programming language that your hosting server uses to run WordPress. It is a property of the server, not of WordPress itself, which is why you will not find it in the general settings. The fastest way to see it is Tools, then Site Health, then the Info tab, then the Server section, inside your WordPress dashboard. Your hosting control panel shows the same number, usually under a PHP settings or MultiPHP Manager page. The number looks like 8.2.35: the first two parts are the branch, and the last part is the patch release.
2. What PHP version does WordPress need in 2026?
WordPress still runs on PHP 7.4 as its minimum, but its own documentation recommends PHP 8.1 or newer. That recommendation is a floor, not a target. PHP 8.1 is already end of life, so a site running the recommended minimum is running a dead version. The sensible target in late 2026 is PHP 8.4 or 8.5, both in active support, both fast, and both supported by every maintained plugin and theme. If a plugin you depend on lists a lower maximum, use the highest version that plugin supports and plan to replace the plugin.
3. Is it safe to update the PHP version on a live WordPress site?
Yes, if you prepare first. The preparation is a full backup, a compatibility check of your plugins and theme, and ideally a staging test. With those done, the switch itself takes seconds and is reversible: if anything breaks, you switch the version back in your hosting panel and the site returns to exactly how it was. The unsafe way to update PHP is to change the dropdown with no backup, no compatibility check, and no idea which plugins are abandoned. That is not an update, it is a gamble, and the odds are worse than most people think.
4. Will updating PHP break my WordPress site?
It can break a site that depends on abandoned plugins or very old custom code, and that is the honest answer. WordPress core, maintained themes, and maintained plugins all run on current PHP versions, because their developers test against them. The breakage comes from code that was written for PHP 7 and never updated: removed functions, changed behaviour, stricter type handling. The compatibility check and the staging test exist to find that code before your visitors do. If the check finds nothing and staging passes, the live update will almost certainly pass too.
5. How do I check my PHP version without a plugin?
Open your WordPress dashboard, go to Tools, then Site Health, then the Info tab, then the Server section. No plugin is needed, and no code is needed. Your hosting panel shows it too, and a one-line phpinfo file shows it with full server detail, though you must delete that file as soon as you have read it. The dashboard method is the one to use: it is built in, it is fast, and it cannot break anything.
6. What should I do if my host does not offer PHP 8.4 or 8.5?
First, ask support when the version will be available, because some hosts roll out new PHP versions slowly and the answer may be a date rather than a no. Second, check whether the host offers the version under a different label, such as a CloudLinux PHP selector rather than the main MultiPHP Manager. Third, if the host genuinely stops at PHP 8.1 or 8.2 in late 2026, treat that as a serious signal about the host. PHP versions are a basic part of keeping a server current, and a host that cannot offer a supported version is a host that is falling behind on the rest of its maintenance too. Moving hosts is a bigger job than updating PHP, but it is the right answer when the host itself is the obstacle.
7. How often should I check my WordPress PHP version?
Check it once a year, at the same time every year, and put the reminder in your calendar now. PHP branches live for four years and die on 31 December, so a yearly check in November catches every deadline with time to spare. Also check it after any major change: a host migration, a WordPress major release, a plugin that suddenly requires a newer version, or a security disclosure like PHP2Shell. A two-minute check once a year is all it takes to never be surprised by a PHP deadline again.
Conclusion
Your WordPress PHP version is a number you can check in two minutes and a switch you can make in half an hour, and it is one of the highest-value maintenance jobs on a WordPress site. It decides whether security flaws get patched, how fast your pages load, and whether your plugins keep updating. PHP 7.4, 8.0, and 8.1 are already end of life. PHP 8.2 loses its last security fixes on 31 December 2026. The safe target is PHP 8.4 or 8.5, and the safe way to get there is the path this guide follows: check the version in Site Health, back the site up, check plugin compatibility, test on staging if you can, switch the version in your hosting panel, and test the site afterwards. If something breaks, switch back, read the debug log, fix the one incompatible plugin, and try again. The update is reversible at every step, and the only genuinely risky move is doing nothing while the calendar runs out. Check your version today. If it is 8.4 or 8.5, you are done for the year. If it is anything older, you now know exactly what to do, and you know it will take about half an hour.
Related Articles You’ll Love
- PHP2Shell Vulnerability: Affected PHP Versions and Fix — the October 2026 flaw that showed why a dead PHP version is a live risk, with the affected versions and the fix.
- CVE-2026-115560: PHP RCE Vulnerability and Fix — the related PHP remote code execution vulnerability from the same month.
- WordPress Security Plugin Checklist After PHP2Shell — the 15-step checklist this guide completes: the PHP version is step 2, and the other 14 steps harden everything around it.
- WordPress Comment2Shell: CVE-2026-93485 Explained — how a WordPress comment feature became a remote code execution flaw, and what it teaches about input handling.
- SEO Audit Checklist: 20 HTML Checks for Any Web Page — run this audit after the update: a slow or broken site loses rankings fast, and this checklist catches the damage early.