PHP security alert

PHP2Shell, two critical PHP flaws (CVSS 9.2), was disclosed on October 21, 2026, and an exploit attempt was recorded four days before the fix. Running PHP 8 is no protection: official fixes start at PHP 8.2, and PHP 8.0 has only an unofficial source backport. Most small and mid-sized PHP 8.0 apps reach a patched PHP 8.4 in 7 days. What PHP2Shell means for your site.

Turned on monitor displaying programming language

PHP 8.0 ran out of security support on November 26, 2023, and it sits outside the official PHP2Shell fix, which starts at 8.2. PHP 8.0 to PHP 8.4 upgrade services close that gap for US teams whose apps already made the move to PHP 8 and assumed that was enough.

You already made the hardest jump. Your code survived the PHP 8.0 changes to string comparison, TypeErrors and removed functions. What is left is a list of smaller items. PHP 8.1 deprecated passing null to non-nullable parameters of built-in functions, asked for return types on methods that extend internal classes, and switched mysqli to exceptions by default. PHP 8.2 deprecated properties created on the fly and "${var}" string interpolation. PHP 8.4 deprecated implicitly nullable parameter types and moved the IMAP extension out of the core.

None of these is huge on its own. Together they touch many files, and the framework your app sits on, often Laravel 8 or 9 or Symfony 5, also needs to move up. Both get handled in one planned week.

What PHP 8.0 users get from PHP 8.4

Four releases of features and fixes, without the pain of a PHP 7 to 8 migration.

An official patch

PHP 8.4.27 fixes both PHP2Shell CVEs. The 8.4 branch keeps getting security releases until December 31, 2028, five years past 8.0's end date.

Language features you can use today

Enums and readonly properties from 8.1, readonly classes from 8.2, typed class constants from 8.3 and property hooks from 8.4 all become available.

Up-to-date frameworks

Laravel 11 and 12 and Symfony 7 need PHP 8.2 or newer. Moving to 8.4 lets your framework catch up and get its own security fixes again.

Tasks in a PHP 8.0 upgrade

  • Null arguments to internal functions tracked down and handled
  • #[\ReturnTypeWillChange] or real return types added where needed
  • mysqli code reviewed for exception-based error handling
  • Ad-hoc properties declared or moved to proper classes
  • "${var}" interpolation rewritten as {$var}
  • Implicitly nullable parameters changed to explicit ?Type
  • IMAP code switched to a maintained library if your app reads mailboxes
  • Framework upgraded and server moved to a patched PHP 8.4 build

Seven-day plan from PHP 8.0 to 8.4

01

Day 1: Collect deprecations

The test suite and PHPStan run on PHP 8.4 with all deprecation notices on, and the output becomes a priced task list.

02

Days 2-4: Clear the list

Rector handles the repeatable fixes, a developer handles the rest, and the framework is upgraded in supported steps.

03

Days 5-6: Regression test

Automated tests plus hands-on checks of your main user flows, compared against the 8.0 build.

04

Day 7: Deploy

PHP 8.4 rolls onto production at a quiet hour, with the 8.0 image kept ready for an instant rollback.

PHP 8.0 versus PHP 8.4

Both carry the PHP 8 name; only 8.4 still gets security releases.

PHP 8.0 PHP 8.4
Security support Ended November 26, 2023 Lasts until December 31, 2028
PHP2Shell Unofficial patch only Fixed from 8.4.27
Enums and readonly Not available Native enums, readonly properties and classes
Ad-hoc properties Allowed silently Deprecated unless the class opts in
Framework support Laravel 9, Symfony 5.4 Laravel 12, Symfony 7
Newest additions Match, named arguments, JIT Property hooks, asymmetric visibility, array_find()

Why our upgrades from PHP 8.0 go smoothly

Automated refactoring handles the safe, mechanical changes, and human review covers everything else.

Black flat screen computer monitor

Automation with a human check

Rector rewrites the repetitive patterns, then a developer reviews every diff so nothing odd slips into your code.

No downtime switch with rollback ready.

Clear notes on every change for your own team.

PHP 8.0 upgrades for US development teams

The upgrade suits US product owners and in-house developers with a PHP 8.0 app and no spare sprint for it. Techno Mantra is an AI and web development company that builds AI applications, websites, SEO programs and custom CRM systems for businesses in the US, Canada and Australia.

The NDA comes on request, the quote is one fixed price, work happens in your Git repository, and you hear back within one business day.

Official sources: PHP supported versions · PHP security releases · PHP 8.4 migration guide

Frequently asked questions

Straight answers about our PHP 8.0 to PHP 8.4 Upgrade service.

Seven days, framework upgrade included, covers most small and mid-sized apps. Large systems get a phased plan where the first service or module runs on PHP 8.4 by day seven.

Yes, if it is PHP 8.0 or 8.1. Official fixes cover 8.2 and newer, while 8.0 and 8.1 received only unofficial source backports from the PHP security team.

Not on PHP 8.4: deprecations only log notices and the code still runs. They mark what will break in a future major version, so the upgrade clears them now while the list is short.

Usually, yes. Laravel 9 is past its support dates, and the newest Laravel and Symfony releases require PHP 8.2 or above. The framework moves up in steps under the same fixed price.

Yes, and both have official fixes: 8.2.35 and 8.3.36. Their support ends earlier, on December 31, 2026 for 8.2 and December 31, 2027 for 8.3, so 8.4 gives the longest runway.

Yes. Teams across the United States work with us under an NDA on request, with a call schedule that overlaps US Eastern time.

Is your PHP app still on an old version?

Send the URL or repository, under NDA if needed. The audit checks for the PHP2Shell flaw and outdated code and shows what a 7-day migration looks like.

Request a migration audit