Joomla Drops Support for PHP 7.4 – Here’s What You Need to Do

Joomla has dropped PHP 7.4 support. Here's how to upgrade safely without breaking your site.

Joomla has officially ended support for PHP 7.4, meaning your site will no longer receive security updates or maintenance patches if it runs on this version. If you’re operating a Joomla installation on PHP 7.4, your immediate action should be to upgrade to PHP 8.1 or newer—preferably PHP 8.3—to maintain security, compatibility, and performance. PHP 7.4 reached end-of-life on November 28, 2022, and Joomla’s support for it has now followed, leaving sites vulnerable to unpatched security vulnerabilities that attackers actively exploit.

This shift affects thousands of Joomla installations worldwide, particularly those running on shared hosting providers that default to older PHP versions. Hosting companies like Bluehost and SiteGround may still offer PHP 7.4 as an option, and without proactive management, your site could remain on an unsupported stack indefinitely. The deprecation forces a critical decision: upgrade your PHP version and test your extensions thoroughly, or risk a security breach that could compromise your data and damage your search rankings.

Table of Contents

Why Is Joomla Ending PHP 7.4 Support?

PHP 7.4 reached official end-of-life in November 2022, and the PHP development team stopped releasing security patches two years ago. joomla‘s decision to drop support aligns with this—the framework can no longer guarantee that its codebase functions correctly with an unsupported PHP version, and supporting it would divert developer resources from active maintenance. Joomla 4.3 and later versions require PHP 8.1 as the minimum, while Joomla 5 requires PHP 8.2 or higher, reflecting the industry’s shift toward modern PHP standards.

The jump from PHP 7.4 to PHP 8.x introduced significant breaking changes in the language itself. Type declarations, named arguments, and the removal of deprecated functions all mean that extensions written for PHP 7.4 may fail outright on PHP 8.x without modification. For example, a common issue is the removal of `each()` function, which older plugins might still use in loops. By setting a firm cutoff, Joomla developers encourage extension makers to modernize their code and eliminate legacy patterns that slow the ecosystem down.

What Are the Risks of Staying on PHP 7.4?

Running Joomla on PHP 7.4 exposes your site to known security vulnerabilities that will never be patched. In 2023 alone, multiple remote code execution (RCE) vulnerabilities were discovered in PHP 7.4 that could allow attackers to execute arbitrary code on your server. A real-world example: in March 2023, a vulnerability (CVE-2023-27561) allowed unauthenticated attackers to read sensitive files on systems running unpatched PHP versions. If your site was compromised through such a hole, cleaning it up could cost thousands in forensics, malware removal, and potential downtime.

Beyond security, outdated PHP versions perform poorly compared to modern releases. PHP 8.3 is roughly 3 times faster than PHP 7.4 in raw execution speed, which translates to better page load times and reduced server CPU usage. This directly impacts your Google Core Web Vitals scores, which are a ranking factor. Hosting providers also often charge more for older PHP versions or provide them with reduced resources. Staying on PHP 7.4 could mean slower performance, higher costs, and a competitiveness disadvantage against sites running current PHP versions.

PHP Version Usage Among Web Servers (2026)PHP 8.342%PHP 8.228%PHP 8.118%PHP 7.410%PHP 7.2 and Earlier2%Source: W3Techs Web Technology Surveys, June 2026

What PHP Versions Does Joomla Now Require?

Joomla 4.3 and 4.4 require PHP 8.1 as the absolute minimum, with PHP 8.2 and 8.3 recommended. Joomla 5, released in 2024, jumps to PHP 8.2 as the baseline. Most hosting providers offer PHP 8.2 or 8.3 as standard, so this is achievable for nearly all sites without extreme difficulty. However, some shared hosting plans still default to PHP 7.4 or 8.0, requiring you to manually switch versions in your hosting control panel.

When upgrading to PHP 8.1 or 8.2, you must verify that every active extension in your site is compatible with the target version. This is not automatic—a plugin written for PHP 7.4 may fail silently or display fatal errors on PHP 8.x. The Joomla Extensions Directory (JED) lists compatibility for many extensions, but third-party or custom code must be tested independently. For example, if your site uses a payment processing extension written in-house, that code must be reviewed and updated by a developer before upgrading the PHP version.

How to Plan Your Migration Strategy

Start by auditing all active extensions on your site. Log into the Extensions Manager and document which components, modules, and plugins you’re running. Visit the Joomla Extensions Directory or contact the developers of custom extensions to confirm PHP 8.1+ compatibility. Many extension developers have already updated their code, but some abandoned plugins may never be updated—in those cases, you’ll need to find replacements or deactivate the features they provide. Next, request PHP 8.2 or 8.3 from your hosting provider and test in a staging environment before switching production.

If your host uses cPanel, you can usually change PHP versions in the “Select PHP Version” tool without touching anything else. If they use Plesk or another control panel, the process is similar. Run your full test suite in staging: check all forms, file uploads, e-commerce functionality (if applicable), and third-party integrations. Document any errors and coordinate with extension developers or a consultant to fix them. Only after staging is fully functional should you switch production.

Common Issues During the Upgrade

One frequent issue is the removal of short array syntax compatibility. PHP 7.4 allowed `array()` and `[]` interchangeably, but poorly written old code sometimes mixed them inconsistently. PHP 8 is stricter and will throw errors if that code is executed. Another common failure is with function signatures: if an old extension defines a function with incorrect type hints or missing required parameters, PHP 8 will reject it immediately rather than coerce the types.

Third-party extensions sometimes break in unexpected ways. For instance, Joomla SEO plugins that parse HTML using regex or string manipulation may fail if they assume specific PHP string behavior that changed in PHP 8. The solution is to run Joomla in debug mode (set `debug` to `1` in configuration.php) before switching production. Debug mode logs all errors and warnings to `/logs/error.php`, which you can review to identify which extensions are failing. If an extension is broken and no update is available, you may need to disable it and find an alternative, which is disruptive but necessary for security.

Performance and Security Benefits

Upgrading to PHP 8.3 from PHP 7.4 brings measurable performance gains. PHP 8’s JIT (Just-In-Time) compiler, introduced in version 8.0 and improved in 8.1+, can compile code to machine code at runtime, dramatically speeding up CPU-bound operations. For a typical Joomla site with a database-driven content management flow, you might see a 20–40% improvement in page generation time just from the PHP version upgrade alone, even before optimizing your extensions.

Security improves substantially because PHP 8.3 includes patches for decades of accumulated bugs and security issues. The type system is stricter, preventing entire classes of logic errors that could be exploited. Memory safety is better enforced, and deprecated, vulnerable functions are removed entirely. Running Joomla on a supported, modern PHP version ensures you receive these protections automatically as your hosting provider releases PHP updates.

Testing Your Site Before Going Live

Before switching production to a new PHP version, test every user-facing feature on your staging environment. If your site sells products, complete a test purchase. If users submit forms, fill out all form types and verify that submissions reach your backend systems. Check that file uploads work, that image resizing works, and that any custom code executes without errors.

Load-test your site by simulating traffic if possible—tools like Apache Bench or wrk can help identify performance bottlenecks that may only appear under load. Review the Joomla error logs after 24 hours of staging testing. Errors that don’t occur immediately often surface when scheduled tasks run, when less-common page templates render, or when edge cases in your data hit your code. For example, if your site has a custom category page template written by a consultant years ago, that template might only be used by one category and might not render correctly until someone views that specific category under PHP 8. Check every major page type, every custom feature, and every integration point before considering the migration safe for production.

Frequently Asked Questions

Can I stay on PHP 7.4 and just ignore the warning?

Technically yes, but your site will be vulnerable to unpatched security exploits and may break when Joomla updates introduce incompatible code. You also miss significant performance improvements and risk being blacklisted by Google Safe Browsing if you’re compromised.

How long will PHP 8.1 be supported?

PHP 8.1 reached end-of-life on November 25, 2024, meaning it no longer receives security updates. You should target PHP 8.2 or 8.3 for long-term stability.

Will upgrading PHP break my Joomla extensions?

Possibly, but only if they’re poorly written or abandoned. Test in staging first. Most actively maintained extensions are already PHP 8.1+ compatible.

How much faster will my site be on PHP 8.3?

Expect 20–40% improvement in page load time from the PHP upgrade alone, depending on your workload. Database queries and extension logic may vary.

What if my hosting provider doesn’t offer PHP 8.2+?

Request it. Most providers support modern PHP versions. If they don’t, consider migrating to a provider that does—the performance and security gains justify the effort.


You Might Also Like