Skip to content
FunnelGuard

Fix guide by FunnelsGuard

PHP version end of life: how to check and upgrade safely

OPS-077Medium impactCould addBy FunnelGuardPublished
On this page

What this issue is

PHP is the language that powers WordPress, WooCommerce, Magento and many custom sites. The PHP project supports each release for a limited time. After that date the version is end of life (EOL): no more bug fixes and no more security patches.

Many sites keep running an old version for years because nothing visibly breaks. Hosts often leave the default at an old release unless you change it. The current list of supported versions is on php.net under Supported Versions.

Why it costs you leads or sales

An EOL version is a security risk. Known flaws stay open, and attackers scan for them. A hacked site can be defaced, flagged by browsers, used to send spam or have its forms and checkout tampered with. That means lost trust, lost leads and a messy clean-up.

There is a second cost: pressure to upgrade later. Plugins and themes drop support for old PHP, and hosts eventually force a change. If it happens on a deadline, forms and checkout can break with no time to test.

How an old PHP version turns into lost sales
  1. PHP reaches end of lifeNo more security patches
  2. Known flaw exploitedSite or plugin is compromised
  3. Forms and checkout tampered withSpam, redirects or downtime
  4. Leads and sales lostVisitors leave or get warnings

The risk builds quietly, then shows up as a broken or compromised funnel.

How to check if your site has it

Find your PHP version, then compare it with the Supported Versions table on php.net. If the version is listed as no longer supported, you have the issue.

Where to find your PHP version
MethodWhere to lookNote
WordPress Site HealthTools > Site Health > Info > ServerShows PHP version directly
Host control panelcPanel: MultiPHP Manager; Plesk: PHP SettingsShows and lets you change it
Response headerX-Powered-By: PHP/x.y.zOften hidden by hosts, so absence proves nothing
phpinfo fileA temporary file calling phpinfo()Delete it straight after use
Check the X-Powered-By headerbash
curl -sI https://example.com | grep -i x-powered-by

How to fix it

Upgrade PHP safely
  1. Back up the site and database

    Take a full backup you can restore, and note your current PHP version.

  2. Make a staging copy

    Switch the staging copy to a supported PHP version first. Do not test on the live site.

  3. Update plugins, themes and core

    Update first, and replace anything abandoned that does not support the new version.

  4. Test your money paths

    Submit every lead form, run a test checkout, and check the error log for warnings or fatal errors.

  5. Switch the live site

    Change the version at a quiet time and keep the option to roll back.

Changing the PHP version by platform
  1. Check requirements

    Open Tools > Site Health to see the current version and any notices about plugins.

  2. Change it at your host

    WordPress itself cannot change PHP. Use your host panel (cPanel MultiPHP Manager, Plesk, or your host's own dashboard).

How to confirm it's fixed

After the upgrade
  • Site Health or your host panel shows a supported PHP version
  • Home page, landing pages and key templates load without errors
  • Every lead form submits and the email reaches the inbox and CRM
  • A test order completes (use test mode, never real card details)
  • The PHP error log shows no new fatal errors or warnings
  • Tracking tags still fire on thank-you pages

How to prevent it happening again

Add the end-of-life dates for your PHP version to your calendar and plan the upgrade a few months ahead. Choose a host that lets you pick PHP versions and warns you about retirements. Keep a staging site so each upgrade is a routine test, not an emergency. Remove plugins that are no longer maintained.

A planned upgrade (example)
  1. 6 months before EOL

    Check plugin compatibility and note the date

  2. 3 months before

    Upgrade staging and test forms and checkout

  3. 1 month before

    Switch the live site at a quiet time

  4. After EOL date

    Site already on a supported version

How FunnelGuard handles this

FunnelGuard does not check PHP versions today. It is a possible future check, for example by reading the X-Powered-By header, though many hosts hide that header so it would not be reliable on its own.

What FunnelGuard does cover is the result of a bad upgrade. It runs your real journeys (lead forms, checkouts, booking and chat buttons) on a schedule, checks each step and tracking hit, and confirms test leads reach the inbox and CRM. If a PHP change breaks a form, you get an alert with a screenshot and a likely cause. To watch for EOL itself, use WordPress Site Health, your host's notices, or a calendar reminder tied to php.net dates. The Free plan covers 1 site and 2 journeys with daily checks and no card.

PHP version management

Unmanaged

  • Version unknown or years old
  • Upgrade forced by host with no warning
  • Forms break and nobody notices

Managed

  • Supported version with EOL date noted
  • Upgrades tested on staging
  • Journeys tested after each change

Questions people ask

What does PHP end of life mean?

It means the PHP project no longer releases bug fixes or security patches for that version. Your site keeps working, but any newly found vulnerability stays unfixed. You should move to a supported version.

How do I check which PHP version my website uses?

In WordPress, go to Tools > Site Health > Info > Server. Otherwise look in your host control panel, such as cPanel MultiPHP Manager. You can also check the X-Powered-By response header, though many hosts hide it.

Is it dangerous to run an end-of-life PHP version?

Yes, it raises your risk. Newly discovered flaws are not patched, and attackers scan for sites on old versions. A compromised site can lose leads, sales and customer trust.

How do I upgrade PHP without breaking my site?

Back up, copy the site to staging, update plugins and themes, then switch staging to the new PHP version. Test forms, checkout and the error log. Only then change the live site.

Why does my site break after a PHP upgrade?

Old plugins, themes or custom code may use functions removed or changed in newer PHP. Check the PHP error log to find the culprit, then update or replace it. You can roll back the version while you fix it.

Does the X-Powered-By header always show my PHP version?

No. Many hosts and security setups remove or hide it, so a missing header does not mean you are safe. Use your host panel or Site Health for a reliable answer.

Does FunnelGuard check my PHP version?

No, not yet. It is a possible future check. FunnelGuard does test your forms and checkouts on a schedule, which helps you spot breakage after an upgrade.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.