Skip to content
Web Design & Development

A Practical Guide to PHP Version Support

The support lifecycle of PHP releases, which receive active bug fixes and then security-only fixes before reaching end of life.

MediaScaleUp Editorial Team 2 min read 9 views
A Practical Guide to PHP Version Support

Where most projects go wrong

The usual mistakes:

  • End-of-life PHP versions
  • Upgrading production without testing
  • Plugins that block upgrades indefinitely
  • Different PHP versions between environments

What good looks like instead

  • Run a supported PHP version in production
  • Test on the next version before upgrading
  • Check framework and plugin compatibility
  • Upgrade development and staging first
  • Plan upgrades before security support ends
What to do and what to avoid with PHP version support, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Many sites run PHP versions that no longer receive security fixes, and hosting providers eventually force upgrades that break unprepared code.

The specs that matter

Published figures for PHP Version Support
MeasureFigure
Active supporttwo years of bug and security fixes
Security supporttwo further years of security fixes only
End of lifeno further fixes, including for security issues
Where to checkthe supported versions page on php.net

Knowing when to hand it over

Tip: Bring in help when a host announces an end-of-life date for your PHP version, or when legacy code blocks upgrades.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Web Design & Development