MenuDeutsch

Blog

Joomla 3 on PHP 8: what works, what breaks, and what to do before your host switches

Many Joomla 3 sites are still running because their host still offers an old PHP version. That is ending: PHP 8.1 reached end of life on 31 December 2025, PHP 8.2 follows on 31 December 2026, and hosts are removing old versions on their own dates. This page answers the question people search for, "does Joomla 3 run on PHP 8.1, 8.2, 8.3 or 8.4?", and what to do about it.

Online version: https://sidecarsoft.com/blog/joomla-3-php-8/

The short answer

Link to section
  • PHP 8.0 is the highest version Joomla names for Joomla 3: its manual lists PHP 8.0 as "recommended" for Joomla 3.x and gives no maximum.
  • PHP 8.1: Joomla 3.10.4 (14 December 2021) shipped "PHP 8.1 compatibility patches", with the warning that if you show all errors "there could be deprication notices on some pages". A current 3.10 core mostly runs; old extensions may not.
  • PHP 8.2, 8.3 and 8.4: we found no Joomla release note or manual entry that lists them for Joomla 3. The last release, 3.10.12, came out on 11 July 2023, and support ended on 17 August 2023. Anything above 8.1 is untested territory.
  • The lasting fix is not a PHP setting. It is moving the site to Joomla 5.4 (PHP 8.1 or later) and then to Joomla 6 (PHP 8.3 or later).

What breaks on PHP 8.x, version by version

Link to section

Two kinds of problem show up. Removed features cause fatal errors: the page or the whole site goes blank. Deprecations only cause notices: the page works, but the notices appear on screen if error reporting is on, and they can break AJAX responses and installers. Most fatal errors come from old extensions and templates, not from the Joomla 3.10 core.

  • PHP 8.0 (fatal errors in old code). each(), create_function() and get_magic_quotes_gpc() were removed, as was the $array{0} curly-brace syntax. Several warnings became Error exceptions; for example, passing something that isn't countable to count() now throws a TypeError. Extensions written for Joomla 2.5 or early 3.x often use these.
  • PHP 8.1 (notices). Passing null to built-in functions that expect a string or number is deprecated. Joomla 3.10.4 fixed the known cases in core; a Joomla developer noted on the backport that some notices "we cannot get rid of". Extensions are on their own.
  • PHP 8.2 (notices). Creating properties on an object that doesn't declare them ("dynamic properties") is deprecated, as are "${var}" string interpolation and utf8_encode()/utf8_decode(). Older PHP code does all three, and we found no Joomla 3 release that addresses them.
  • PHP 8.3 and 8.4 (more notices, nothing tested). PHP 8.4 deprecates implicitly nullable parameters (function f(Type $x = null)), a pattern that is common in code written before PHP 7.1. Nobody has released a Joomla 3 core tested on these versions.

A notice is not a crash, but deprecated features are the ones a later PHP version removes, as PHP 8.0 did with each() and create_function(). Code that relies on them stops working later.

The dates that force the question

Link to section
  • 26 November 2023: PHP 8.0 end of life (last release 8.0.30).
  • 31 December 2025: PHP 8.1 end of life (last release 8.1.34).
  • 1 September and 13 October 2026: Reclaim Hosting removed PHP 8.0 and then PHP 8.1 from its cPanel shared servers.
  • 31 December 2026: PHP 8.2 security support ends.
  • January 2027: Web Wiz removes PHP 8.2 from its shared hosting; "any website still set to PHP 8.2 will be moved to PHP 8.3 automatically".
  • 31 December 2027: PHP 8.3 security support ends.

Other hosts keep old versions but charge for them. IONOS, for example, sells PHP Extended Support as a monthly add-on per old PHP version (see its current price page). That buys time, not security fixes for Joomla 3 itself.

Check your own site in ten minutes

Link to section
  • In the Joomla 3 back end, open System > System Information and note the PHP version and your Joomla version. If it is below 3.10.12, update Joomla 3 first: the PHP 8.1 fixes are in 3.10.4 and later.
  • Ask your host, in writing, which PHP versions your plan offers and on what date your current version will be removed or charged extra.
  • Copy the site to a staging host or a local machine set to the next PHP version, set Error Reporting to Maximum in Global Configuration, and click through the front end, the back end, forms and logins. Write down every error and which extension it comes from.
  • On the live site keep Error Reporting at "None" or "System Default", so notices are not shown to visitors while you plan.

Your options, honestly

Link to section
  • Stay on an old PHP version (paid extended support or a host that keeps it). Lowest effort now, but Joomla 3 itself has had no official security fixes since August 2023 (paid extended support ended in February 2025), and the bill repeats every month.
  • Patch Joomla 3 for a newer PHP. Possible for a developer who replaces or fixes each failing extension, but you are maintaining an unsupported CMS by hand, and the next PHP version starts the work again.
  • Move to Joomla 5.4, then 6. Joomla 5 needs PHP 8.1 or later, Joomla 6 needs PHP 8.3, and Joomla 5 gets security fixes until 12 October 2027. This is the only option that ends the PHP problem.

Our Joomla 3 to 5 migration guide walks through both ways to get there: updating in place through Joomla 4, or building a fresh Joomla 5 site and copying the content in.

The quick route: a fresh Joomla 5 site with Bridge35

Link to section

If the PHP switch is what broke the site, the old extensions are usually the reason, and an in-place update has to get past the same extensions. A fresh Joomla 5 site avoids them. Bridge35 reads the Joomla 3 database (read-only, so it does not matter which PHP version the old site needs) and copies articles, categories, tags, users with their passwords, permissions and custom fields into the new site, keeping IDs and aliases so your URLs survive. Menus, modules, templates and third-party extensions are rebuilt by hand. If the site is already down, start with Joomla 3 blank page after a PHP 8 upgrade to recover it first. For K2 sites, K2Bridge does the same for K2 items. Questions before you buy: support@sidecarsoft.com.

Sources