Skip to content

How to Update Your Site's PHP Version Safely Without Breaking It

Running your site on a PHP version whose security support has ended means vulnerabilities that never get patched and slower performance than necessary. This guide explains three ways to find your current version, how to check theme and plugin compatibility, how to test the upgrade in a staging environment and switch the version from your hosting panel, and exactly what to do if a fatal error appears after the switch.

Hostingمريم العتيبي35 min read
Illustration of a cracked code card upgraded to a bright protected code card, representing safely updating the PHP version
On this page

Of all the maintenance decisions site owners postpone, updating the PHP version is the most postponed and the least understood. The reason is more psychological than technical: the update feels like tampering with the "heart" of the site, and anyone who once had an upgrade break their site tells the story to ten others, while nobody talks about the upgrades that went through without incident, which are the overwhelming majority. The result is that millions of sites today run on versions that officially died years ago, believing they are safe because "the site works."

But "the site works" is not a measure of security. An end-of-life version works exactly as it did yesterday; the only difference is that it has stopped receiving security patches. This guide takes you step by step through the whole process: why an old version is a real problem rather than marketing scaremongering, how to find your current version precisely, how to check your theme and plugin compatibility before you touch any button, how to test in a separate environment, how to switch the version in practice from your hosting panel, and exactly what to do in every possible failure scenario, with a ready rollback plan that turns the worst case into a matter of one minute.

Why is an old PHP version a silent danger to your site?

PHP is not just a "setting" in your hosting panel; it is the engine that executes every line in WordPress, your theme and your plugins. When a visitor requests a page, the server calls the PHP interpreter, which reads the files, queries the database, builds a complete HTML page and then sends it. Any slowness or vulnerability in this interpreter affects every page your site serves, without exception.

The PHP team follows a regular release cycle: each version gets two years of active support, during which general and security bugs are fixed, then an additional year of security-only support, during which only critical vulnerabilities are patched, and after that it reaches its end of life (EOL) completely. After that date, any vulnerability discovered in that version, however serious, will get no official fix. This is not an arbitrary policy but a practical necessity: a volunteer team cannot maintain dozens of versions forever.

The danger here is silent by nature. The site doesn't show a red warning saying "you are on a dead version," and its speed doesn't suddenly drop on the day support ends. Everything looks normal, while every month the number of publicly known, unpatched vulnerabilities in your environment grows. Attackers don't look for your site by name; they scan the internet automatically for the fingerprints of old versions with known vulnerabilities, and your site announces that fingerprint in its response headers unless it is hidden. The same logic applies to every component of your site, and we have covered it in detail in the guide to the importance of security updates.

The following table summarizes the status of the versions at the time of writing this guide (mid-2026):

PHP versionStatus in mid-2026What it means in practice
5.6 and belowEnd of life for many yearsSerious risk: urgent upgrade, no debate
7.0 – 7.3End of lifeNo security patches at all; many modern plugins no longer support it
7.4End of life since late 2022Still WordPress's "minimum," but insecure: upgrade it right away
8.0 and 8.1End of life (8.1 ended at the end of 2025)No more patches; upgrading to 8.3+ is a priority
8.2Security support only, ending at the end of 2026Acceptable temporarily, but not a final destination
8.3Security support until the end of 2027WordPress's officially recommended minimum
8.4Supported; security support until the end of 2028A balanced choice for production sites today
8.5The newest, with the longest support aheadExcellent if your plugins and theme support it

This distinction is what confuses site owners most, and it deserves a frank paragraph. WordPress announces two completely different numbers, and many people mix them up, believing they are "compatible" when they are actually on the edge of danger.

The minimum supported version is the oldest PHP version WordPress will boot on without refusing to install, and it is still 7.4 as of the 2026 releases. But this number is a historical compatibility decision, not a security recommendation: WordPress runs a huge share of the web, and suddenly raising the minimum would break millions of old sites at once, so it is raised very slowly. WordPress accepting a version doesn't mean that version is secure; 7.4 reached its end of life in late 2022 and receives no security patches today.

The recommended minimum is what the WordPress team actually tells anyone who asks "what should I run my site on?", and it is 8.3 and above in the 2026 guidance. This is the number you should measure yourself against, not the first one.

ConceptThe number (2026)What it meansIs it your target?
Minimum supported7.4WordPress boots and doesn't refuse to installNo: a version that is dead security-wise
Recommended minimum8.3The WordPress team's official recommendationYes: your floor
The balanced production choice8.4Supported for years to come, with broad compatibilityYes: the default choice for most sites
The newest8.5The longest remaining supportYes, if all your plugins are proven compatible

The simple practical rule: aim for a version that is still within the active or security support window, not necessarily the newest version. Jumping to a version released a few weeks ago may get ahead of some plugins' support for it; staying on a dead version is a much bigger mistake. The golden middle is usually the newest version minus one.

How much does your site actually gain from upgrading the PHP version?

The gain is real and measurable, but the numbers going around are often presented with commercial exaggeration. Let's be precise: the big leap in PHP performance happened between version 5.6 and version 7.0 (a radical improvement in the language engine), followed by a second, smaller but noticeable leap when moving to 8.x thanks to the JIT compiler and accumulated improvements in memory management and internal functions.

In practice, moving from pre-8 versions to 8.x usually gives an improvement in server-side page processing time of between 15% and 30%, and it can be much more on computation-heavy sites such as WooCommerce stores with large catalogs. But note three important caveats:

First, the gain is in server time, not in full loading time. What improves is the initial response time (TTFB) and HTML generation time, not the size of your images or the number of JavaScript files you load. If your page loads eight megabytes of images, saving 80 milliseconds on the server won't change how the visitor perceives it.

Second, the gain depends on the nature of your site. A simple blog served from the cache won't notice much difference, because the page is delivered ready-made without running PHP at all. A store that generates dynamic cart and account pages for each user, where the page cache doesn't help, will benefit much more.

Third, the upgrade doesn't replace caching or the other optimizations. A modern PHP version on an uncached site is still slower than an older version on a well-tuned site. Treat the upgrade as a foundation to build on, not a substitute for what we explained in the guide to speeding up WordPress.

Performance aspectDoes it improve with a PHP upgrade?Note
Code execution time on the serverYes, clearlyThe biggest direct gain
Initial response time (TTFB)Yes, partiallyAlso affected by hosting, network and caching
PHP memory use per requestYes, usually lowerMeans more concurrent requests with the same resources
Fully cached pagesNegligibleServed without running PHP at all
Size of images and JS/CSS filesNoUnrelated to the PHP version
Core Web VitalsYes, indirectlyImproves LCP by improving server time

If you measure the impact of the upgrade, measure before and after with the same tool, on the same pages and at the same time of day, and focus on server time rather than the overall score. The right way to measure and the meaning of each metric are explained in the Core Web Vitals guide.

How do you find your site's current PHP version?

Before anything else, you need an exact number, not a guess. There are three reliable ways, and each has its place:

Method one: the Site Health tool in WordPress. Go to Tools > Site Health > Info > Server, and you will find a line called "PHP version" showing the full number. This is the fastest and easiest method, and it requires no access beyond the WordPress dashboard itself. Its extra advantage is that it shows important neighboring information: the memory limit, the execution time limit, the maximum upload size and the list of enabled PHP extensions, numbers you will need later when troubleshooting.

Method two: the PHP tool in your hosting panel. In cPanel it is usually called MultiPHP Manager (for changing the version) and MultiPHP INI Editor (for editing its settings); in other panels you may find it as "PHP Selector" or "PHP Settings." This method tells you the version and lets you change it on the same screen, and it is the most accurate source because it shows what the server actually sets, not what WordPress infers. If you aren't used to navigating the panel, the cPanel guide for beginners explains where the sections are.

Method three: a temporary phpinfo() file. Create a file with a random name (don't call it info.php) with the following content and upload it to the site folder:

php
<?php
phpinfo();

Then open it in the browser to see a detailed page with everything: the version, the loaded modules, the setting values and the file paths. Upload it through the file manager in your hosting panel or over FTP.

MethodRequiresShows the versionAllows changing itNote
Site Health in WordPressAdmin dashboard loginYesNoThe fastest; also shows memory and time limits
The PHP tool in your hosting panelPanel loginYesYesThe most accurate source: this is where the upgrade actually happens
A temporary phpinfo() fileUploading a file via FTP/file managerYes, in full detailNoA security risk if forgotten: delete it immediately

Also note a point many people overlook: the PHP version can differ between the web and the command line. The number that appears when you run php -v over SSH is the server's default CLI version, and it may be completely different from the version serving your site in the browser. Always rely on the web number.

How do you check theme and plugin compatibility before upgrading?

This is where the difference lies between an upgrade that goes through without a trace and one that takes the site down. The good news is that WordPress itself and its core components have been compatible with modern versions for a long time; the problem always comes from third parties: a theme you bought six years ago whose developer has stopped, or a small plugin that does a single job and hasn't been updated since 2019.

Start with an honest inventory. Open the plugins page and note three things for each plugin: the date of the last update, whether it declares compatibility with the current WordPress version, and whether it still has an active developer. A plugin that hasn't been updated for more than two years is a prime candidate for problems, not necessarily because it will break immediately, but because it won't be fixed if it breaks.

After the inventory, run an automated scan. There are PHP compatibility checker plugins that scan theme and plugin code for removed functions and syntax that is no longer accepted, and give you a report sorted into errors and warnings. These tools are useful but not conclusive: they produce false positives (code that looks dangerous but is never executed) and miss other issues (errors that only appear at runtime). Treat their report as a risk map, not a certificate of safety, and make actual testing in a staging environment the final judge.

Check itemHow to checkAction if there is a problem
WordPress core versionThe Updates screenUpdate it to the latest version before upgrading PHP
The active themeThe Appearance screen + the developer's siteUpdate it; if it is abandoned, plan to replace it
Child themesReview functions.php manuallyOld custom code may use removed functions
Every active pluginLast update date + declared compatibilityUpdate, replace, or delete if unused
Inactive plugins and unused themesThe Plugins and Appearance screensDelete them: don't keep what you don't use
Custom code in functions.php or mu-pluginsManual reviewThe most likely to break, because nobody updates it
Automated compatibility scanA PHP compatibility checker pluginReview the errors (not the warnings) first
A full backupFiles + databaseDon't start until you have confirmed it is done

A preliminary step worth mentioning: reduce what you check before you check it. Every inactive plugin or unused theme is code sitting on your server for no benefit, and it remains an attack surface and a potential source of errors. Delete what you don't use before upgrading, so your list gets shorter and surprises become less likely. The principle of "as few plugins as possible, all actively maintained" is explained in the guide to essential WordPress plugins.

What is the safe upgrade order from start to finish?

Everything above comes together in a single path that can't be shortened and whose steps can't be skipped. This isn't bureaucracy but a sequence designed so that you discover every problem at the cheapest possible point:

  1. A full backup: files and database together, stored off the server, not on it. The details of the methods and how to verify that the backup is valid are in the website backup guide.
  2. Compatibility check: the inventory and automated scan as in the previous section, plus deleting what isn't used.
  3. Testing in a staging environment: an identical copy of the live site, where you switch the version and browse everything before you touch production.
  4. Switching on the live site: at a time of low traffic, not on a campaign launch day or a Friday night.
  5. Monitoring the error log: for at least 48 hours, because some paths (payments, forms, scheduled tasks) are called only rarely.

And on top of these five steps, there is a sixth that is always ready: an immediate rollback on any fatal error.

The safe PHP upgrade pathFive steps in order: don't skip any of them1. BackupFiles + database2. CompatibilityTheme & plugins3. Staging testIdentical copy4. Switch versionOn the live site5. Monitor log48 hoursOn a fatal error: roll back nowRestore the previous version in the panelThe switch is reversible and fast: going back takes a single minuteA deprecated warning isn't a failure; only a fatal error calls for rollback
The safe upgrade path: backup > compatibility check > test in a staging environment > switch the version on the live site > monitor the log; on any fatal error, roll back to the previous version immediately.

The most reassuring point in this whole path is that step four is reversible with a single click. Switching the PHP version is not a database migration or an irreversible change to your files; it is a change in which interpreter runs the code. The files are as they were, the database is as it was, and setting the dropdown back to the previous version returns the site to its previous state within seconds. This alone should remove 90% of the anxiety about upgrading.

How do you test the upgrade in a staging environment first?

A staging environment is a complete copy of your site (files and database) running on a separate URL that your visitors don't see. Its importance in our context is direct: you try the new PHP version on the same code and the same data, so you see exactly what will happen to the live site, with no risk at all. Many hosting plans provide one in a single click, and how to create one and its limitations are explained in detail in the guide to staging environments in WordPress.

The staging cycle: from live to staging and backLive siteexample.comVisitors · orders · commentsCloneStagingstaging.example.comFiles + databaseIsolatedTest and adjustUpdates · theme · pluginsnoindex · no emailPush to Live: the approved files and the selected settingsWarning: while you work on stagingNew orders and comments reach only the live site; pushing the whole database wipes them
The staging cycle: clone the live site (files + database) > isolated testing > push to live; the risk is that orders and comments that reached the live site while you were working aren't in the staging copy.

What exactly to do inside the staging environment after switching the version there:

  • Browse the front end: the home page, a post page, an archive page, a contact page and any page with a special function.
  • Open the admin dashboard: go into every settings screen of every major plugin; many fatal errors appear on a plugin's settings screen, not on the front end.
  • Try the sensitive paths: submit a form, add a product to the cart, complete a test order, register a new member, upload an image.
  • Run scheduled tasks manually: some failures only appear when a cron task runs, so don't wait for one to come along by chance.
  • Review the error log after all of that: this is the real test, because many errors aren't visible to the visitor but are logged.

Don't settle for a quick look at the home page. The home page is usually the simplest page on the site and the one that relies least on third-party code; problems live on settings screens, checkout pages and forms.

How do you switch the version from your hosting panel in practice?

Once testing has succeeded, switching on the live site is the easiest step in the whole guide: it takes no more than a minute.

In cPanel: open MultiPHP Manager, select the domain (or domains) from the list, then choose the version you want from the dropdown and click Apply. The change applies immediately to new requests.

In other panels (DirectAdmin, Plesk, CyberPanel or a custom panel from your host) the name differs ("PHP Selector," "PHP Settings"), but the logic is the same: choose the domain, then the version, then save.

A crucial point that is often overlooked: the scope of the setting differs between hosts. Some allow a separate version for each domain and subdomain, and even for each folder, while others set it for the whole account at once. This difference changes your strategy completely: in the first case you can upgrade a test site on a subdomain first and then the rest; in the second all your sites move together, which means you need to check the compatibility of every site in the account before you press the button.

Where it is setWho usually offers itPractical effect
The whole accountSimplified shared plansAll your sites change together: check them all first
Per domain / subdomaincPanel and most modern panelsYou can upgrade gradually, site by site
Per folderSome settings via .htaccess or a .user.ini fileFlexible, but confuses troubleshooting if forgotten
Server-wideVPS and dedicated serversFull control and full responsibility

Right after saving, do three things in order: clear every cache layer (the caching plugin, the server cache and the CDN if there is one), because old pages can hide the truth from you; then open the site in a private browsing window to bypass your browser's cache; then check the new number on the Site Health screen to confirm that the change has actually taken effect.

What should you monitor right after switching?

The upgrade doesn't end when you click "Save." The first hours, and the following few days, are the real monitoring period, because many code paths only run when a particular event occurs.

Monitor these indicators in particular:

The PHP error log. It is the most important source of information you have. You usually find it in the "Errors" section of your hosting panel, as an error_log file inside the site folder, or in wp-content/debug.log if you enabled error logging in WordPress. Read it after an hour, then after a day, then after three days.

Outgoing email. Contact forms and order notifications are among the things that break most silently after any change to the environment, because nobody notices a message that didn't arrive. Send a test message from your form yourself.

Scheduled tasks. Automatic backups, sending newsletters, renewing certificates and syncing inventory all run behind the scenes and can fail without any visible sign on the front end.

Payment gateways and external integrations. Any library that connects to an external service may be affected by changes to SSL settings or to the modules loaded with the new version.

Response time. Compare your measurement after the upgrade with the one from before; if it got worse instead of better, the cause is usually a cache that wasn't cleared or a PHP module that was enabled in the old version but not in the new one, such as the object caching extension.

What should you do if the site breaks after switching?

Let's assume the worst: you switched the version, opened the site and found a disaster. Breathe: you have a rollback button, and you have a clear diagnosis. The following table maps each symptom to its meaning and the first action:

Symptom after switchingWhat it usually meansFirst action
A completely blank white screenA fatal error, with error display hiddenGo back to the previous version, then troubleshoot
"There has been a critical error on this website"A fatal error caught by WordPressCheck the recovery mode email, read the log
The front end works but the admin dashboard is brokenAn old admin pluginDisable plugins via FTP and re-enable them gradually
One page broken, the rest fineCustom code or a widget on that pageIsolate the responsible element on that page
Deprecated messages fill the pageDeprecation warnings, not errorsHide error display: the site is fine
The log grows very quicklyRepeated warnings on every requestFix their source and turn off their display right away
Everything works, but slowerA cache that wasn't cleared or a missing moduleClear the cache, compare the loaded modules

The white screen after switching

This means PHP stopped on a fatal error and error display is turned off, so no message was printed. The solution is not to guess but to reveal the message: first go back to the previous version so the site works, then enable error logging in WordPress and read the message, which carries the exact file name and line number. The full isolation method for this case is explained in the guide to fixing WordPress errors, and it applies here to the letter.

A fatal error naming a removed function

A message such as Call to undefined function ... or Uncaught Error: Call to a member function ... on null means the code is calling something that no longer exists in the new version. The message tells you the exact file, and the file path tells you the culprit: if it is inside wp-content/plugins/plugin-name/, the plugin is the cause; if it is inside wp-content/themes/, the theme. The right fix: update the component, or replace it if it is abandoned. The wrong fix: editing the plugin's code by hand, which will be wiped out with the first update and turns your site into a copy that can't be maintained.

An old plugin breaks the admin dashboard

This case is confusing because you lose the very tool you would have used for the fix. The traditional solution always works: connect to the site over FTP or through the file manager, and rename the wp-content/plugins folder to plugins-off, which disables all plugins at once. The dashboard will work again immediately. Restore the original name, then activate the plugins one by one from inside the dashboard until it breaks again: the last plugin you activated is the suspect. How to access the files over FTP is explained in the guide to uploading files with FileZilla.

Deprecated warnings fill the page or the log

This is the most important point in the whole section, and a source of unwarranted panic for most beginners. A Deprecated: message says: "This syntax still works today, but it will be removed in a future version." Your site works fully. The difference is crucial:

TypeDoes the site stop?What is required of you?
DeprecatedNoTell the developer and plan the update: no rush
Notice / WarningUsually notReview them; they may reveal a logic flaw
Fatal errorYesFix immediately or roll back immediately

The real problem with warnings isn't that they exist but displaying them to visitors or the log growing out of control. Deprecation messages printed at the top of the page deface your design, and they can break HTTP headers, preventing redirects or corrupting export files. And a log that grows by hundreds of megabytes day after day eats your space and may run into the storage limits of your account.

The rule: in production, never display errors to visitors; only log them. In a development or testing environment, show everything, because that is where they belong.

How do you roll back to the previous version safely?

The rollback plan isn't an admission of failure but an integral part of the plan. And here it is reassuringly simple, because switching the PHP version doesn't change your files or your data:

StepWhat to doExpected time
1Open the PHP tool in your hosting panelLess than a minute
2Select the previous version again and saveSeconds
3Clear every cache layer (plugin + server + CDN)A minute
4Check that the front end and the admin dashboard both workTwo minutes
5Save the text of the error message before it disappearsA minute
6Diagnose the cause on the staging environment, not the live siteLater, without pressure

The fifth step is the one everyone forgets: copy the full error message before you roll back. After going back to the old version, the message disappears, and with it the only information that would have led you to the responsible component by name and path. Pasting it into a text file saves you an hour of troubleshooting later.

And note the important difference: rolling back a PHP version doesn't require restoring a backup. The backup exists for a different scenario: another change (a plugin or theme update, for example) coinciding with the upgrade and damaging the data. That is exactly why we insist on the golden rule: change one thing at a time. Don't update WordPress and ten plugins and switch PHP in the same session, or you won't know which one is responsible.

How do you keep your site ready for the next upgrade?

The upgrade you completed today will come around again in a year or two. The difference between someone who lives through it as an annual crisis and someone who gets it done in ten minutes is a few simple habits:

Make it a regular item. Set a reminder every six months to review your current version against the supported versions. An expected upgrade is much easier than one that is five years late.

Don't accumulate debt. A site that is updated weekly always stays close to compatibility, while a site left alone for three years needs a leap across several versions at once, which is much harder and more likely to break.

Choose maintained plugins from the start. Before installing any plugin, look at the date of its last update, its number of active installations and how responsive the developer is in the support forum. The plugin you choose carefully today is the plugin that won't break your upgrade two years from now.

Choose a host that doesn't fall behind on versions. Some hosts are months late in offering recent versions, forcing you to lag behind however ready your site is. The availability of the latest PHP versions, a one-click staging environment and automatic backups are three practical criteria when comparing, and we have included them in the guide to choosing a hosting company.

Document what you did. Note in a simple file: the date, the previous version, the new version, what broke and how it was fixed. At the next upgrade, this record will save you half the work.

Frequently asked questions

Does updating the PHP version delete my data or site content? Not at all. Switching the PHP version changes only the interpreter that runs the code; it doesn't touch your files, your database, your posts or your images. The worst that can happen is that a plugin or theme stops working temporarily until you go back to the previous version or update the component. Even so, a backup remains mandatory before any change, because it protects you from human error and other simultaneous changes, not from the upgrade itself.

How long does switching the version actually take? The switch itself takes less than a minute: you choose the domain and the version and save, and the change applies to new requests immediately, with no noticeable interruption for visitors. The real time goes into what comes before and after: the backup, the compatibility check, testing in the staging environment, then browsing the site and reviewing the log. Set aside one to two hours for a mid-size site, and more for a large store with many plugins and integrations.

What is the difference between a deprecated warning and a fatal error? A deprecation warning means some syntax still works today but will be removed in the future: your site works fully, nothing is broken, and what is required of you is to tell the developer and plan the update without rushing. A fatal error stops the page from executing entirely, so a white screen or a "There has been a critical error" message appears, and it calls for immediate action or a rollback. The practical rule: if the site displays and works, you are dealing with noise, not a disaster.

Can I run a different PHP version for each site in my account? That depends on your host and its panel. Many modern panels (cPanel through MultiPHP Manager, for example) allow a separate version for each domain and subdomain, which is ideal for upgrading gradually, site by site. Some simplified plans set the version at the level of the whole account, so all your sites move together. Find out which case you have before switching, because it determines whether you check the compatibility of one site or of all your sites at once.

What if an essential plugin doesn't support the newer version? Look for a maintained alternative that does the same job, or contact the developer and ask about their support schedule for the new version before you decide. The only unacceptable option is freezing your site on an end-of-life PHP version to keep one abandoned plugin happy; that means tying the security of your whole site to software its owner has walked away from. The cost of replacing a plugin is much lower than the cost of a compromise or of rebuilding a site after one.

Should I upgrade to the latest version directly or step by step? If you are on a relatively recent version (8.x), moving directly to a newer supported version is usually safe. But if you are on a very old version (5.6 or 7.0), going step by step is smarter: move one step, test, then take another step, because one big jump collects all the potential errors at once, which makes it hard to isolate the source of each one. In both cases, don't necessarily target the newest version released a few weeks ago, but the newest version minus one.

How do I hide error messages from visitors after the upgrade? In a production environment, errors should never be displayed to visitors; they should only be logged to a file. The correct setup is to keep error logging enabled while turning off displaying errors on the page, which is done through the debug constants in the wp-config.php file or through the PHP settings in your hosting panel. Review the log manually on a regular basis, and don't let it grow without limit, because bloated logs use up your account's space and may run into its limits.

When should I ask technical support for help instead of trying myself? Ask right away in three cases: if you can't find the version switching tool in your panel at all, if the site comes back after rolling back but you don't know what caused the failure, or if the site is a store that is live right now and every minute of downtime costs you orders. The support team sees server logs that you can't reach and knows the limits of your environment precisely. There is no value in spending three hours on a problem that support can solve in ten minutes.

Sources

Frequently asked questions

Does updating the PHP version delete my data or site content?

Not at all. Switching the PHP version changes only the interpreter that runs the code; it doesn't touch your files, your database, your posts or your images. The worst that can happen is that a plugin or theme stops working temporarily until you go back to the previous version or update the component. Even so, a backup remains mandatory before any change, because it protects you from human error and other simultaneous changes, not from the upgrade itself.

How long does switching the version actually take?

The switch itself takes less than a minute: you choose the domain and the version and save, and the change applies to new requests immediately, with no noticeable interruption for visitors. The real time goes into what comes before and after: the backup, the compatibility check, testing in the staging environment, then browsing the site and reviewing the log. Set aside one to two hours for a mid-size site, and more for a large store with many plugins and integrations.

What is the difference between a deprecated warning and a fatal error?

A deprecation warning means some syntax still works today but will be removed in the future: your site works fully, nothing is broken, and what is required of you is to tell the developer and plan the update without rushing. A fatal error stops the page from executing entirely, so a white screen or a "There has been a critical error" message appears, and it calls for immediate action or a rollback. The practical rule: if the site displays and works, you are dealing with noise, not a disaster.

Can I run a different PHP version for each site in my account?

That depends on your host and its panel. Many modern panels (cPanel through MultiPHP Manager, for example) allow a separate version for each domain and subdomain, which is ideal for upgrading gradually, site by site. Some simplified plans set the version at the level of the whole account, so all your sites move together. Find out which case you have before switching, because it determines whether you check the compatibility of one site or of all your sites at once.

What if an essential plugin doesn't support the newer version?

Look for a maintained alternative that does the same job, or contact the developer and ask about their support schedule for the new version before you decide. The only unacceptable option is freezing your site on an end-of-life PHP version to keep one abandoned plugin happy; that means tying the security of your whole site to software its owner has walked away from. The cost of replacing a plugin is much lower than the cost of a compromise or of rebuilding a site after one.

Should I upgrade to the latest version directly or step by step?

If you are on a relatively recent version (8.x), moving directly to a newer supported version is usually safe. But if you are on a very old version (5.6 or 7.0), going step by step is smarter: move one step, test, then take another step, because one big jump collects all the potential errors at once, which makes it hard to isolate the source of each one. In both cases, don't necessarily target the newest version released a few weeks ago, but the newest version minus one.

How do I hide error messages from visitors after the upgrade?

In a production environment, errors should never be displayed to visitors; they should only be logged to a file. The correct setup is to keep error logging enabled while turning off displaying errors on the page, which is done through the debug constants in the wp-config.php file or through the PHP settings in your hosting panel. Review the log manually on a regular basis, and don't let it grow without limit, because bloated logs use up your account's space and may run into its limits.

When should I ask technical support for help instead of trying myself?

Ask right away in three cases: if you can't find the version switching tool in your panel at all, if the site comes back after rolling back but you don't know what caused the failure, or if the site is a store that is live right now and every minute of downtime costs you orders. The support team sees server logs that you can't reach and knows the limits of your environment precisely. There is no value in spending three hours on a problem that support can solve in ten minutes.