How long each PHP version is supported and how long Swiss hosting providers keep offering old versions is covered in the article PHP end of life; the deadlines for PHP, frameworks and CMSs through 2029 are in the end-of-life calendar. The next step is the PHP upgrade: how it works and how big it will be for your application.
What determines the effort of a PHP upgrade?
Five factors decide whether your PHP upgrade takes a few days or a few months:
- Starting version. Within PHP 8, mostly details change. The jump from PHP 7 to 8, on the other hand, breaks existing code.
- Framework or CMS. If your version of Laravel, Symfony, TYPO3 or Shopware doesn’t run on the new PHP version, it has to be upgraded first. This framework upgrade is usually the bigger part of the work.
- Packages and extensions. Every library and every extension must support the new PHP version as well. Abandoned packages that nobody maintains anymore have to be replaced.
- Tests. If there are automated tests, they show after every change whether everything still works. If there aren’t, tests for the most important workflows come first, such as login, orders or invoicing.
- Knowledge of the application. Whoever knows the application knows where the special cases hide. If the original developer is gone, taking stock of the application comes on top.
How big is the step from my version to PHP 8.4?
The table of PHP upgrades by starting version rates the jump to a currently supported version (PHP 8.4 or 8.5, as of November 2026). It doesn’t replace a review of your code, but it shows you what to expect.
The new PHP 8.6 is left out of the upgrade table on purpose: on release day, November 19, 2026, Laravel, TYPO3, Shopware, Drupal, and Magento hadn’t approved it yet. What PHP 8.6 brings and when it’s worth it.
| Starting version | What changes in the code up to PHP 8.4 | Does the framework have to move too? | Scale |
|---|---|---|---|
| PHP 8.3 | A few deprecated constructs, such as implicitly nullable parameter types | Rarely | Small |
| PHP 8.1 and 8.2 | Same as from PHP 8.3, plus: dynamic properties and ${} in strings deprecated (PHP 8.2), passing null to internal functions deprecated (PHP 8.1) |
Often, if the framework version is older | Small to medium |
| PHP 7.4 and 8.0 | From PHP 8.0: removed functions such as each() and create_function(), stricter type checks, many notices become errors, comparisons between numbers and strings behave differently |
Almost always; many versions from the PHP 7 era don’t run on PHP 8 | Medium to large |
| PHP 7.0 to 7.3 | Same as from PHP 7.4, plus everything deprecated between PHP 7.0 and 7.4 | Usually across several major versions | Large |
| PHP 5.6 and older | Same as from PHP 7.0, plus: the old mysql_* functions and ereg have been removed since PHP 7.0, so database access has to be rebuilt |
Usually several major versions, or replacement | Large |
Deprecated PHP functions keep running at first and only produce warnings. They are removed in a later major PHP version. If you fix them during the upgrade, the next one will be easier.
If the step to a current PHP version is big and replacing your application is planned anyway, the article Legacy system until replacement helps you choose between investing, freezing and switching.
Which PHP version does my framework or CMS support?
If your application has to move to PHP 8.4, the framework or CMS usually decides how much work it is. The table of PHP support by framework and CMS shows from which version PHP 8.4 is supported according to the vendor and where older versions top out (as of October 27, 2026). It is based on the vendors’ system requirements, the composer.json of each version and, where no upper limit is stated, the vendor’s automated tests.
| System | PHP 8.4 from | Older versions top out at | What this means for the upgrade |
|---|---|---|---|
| Laravel | Laravel 11 | 10: PHP 8.3 · 8: PHP 8.1 · 5.8: PHP 7.4 | Several major versions, target Laravel 13. Laravel 11 has had no security updates since March 12, 2026, and Laravel 12 only gets them until February 24, 2027. |
| Symfony | 5.4 LTS (final patches), 6.4 LTS, 7.4 LTS, 8 | 4.4: PHP 8.2 · 3.4: PHP 7.4 | The obvious target is Symfony 7.4 LTS. Symfony 5.4 only gets security updates now. |
| CakePHP | 5.1 | 4.x: PHP 8.3 · 2.x and 3.x: PHP 7.4 | From CakePHP 2.x or 3.x, a rework via 3 and 4 to 5. CakePHP 4 has had no security updates since September 10, 2026. |
| CodeIgniter | 4.6 | 4.5: PHP 8.3 · 3.x: PHP 8.1 | CodeIgniter 3 means: a rework to 4, or your own patches at your own risk. |
| Yii | Yii 2 from 2.0.50 | 2.0.49 and older: PHP 8.3 | Yii 2 up to 2.0.49 loses support on November 23, 2026. Yii 1.1 is tested up to PHP 8.4 but gets no more updates from 2027. |
| Zend Framework & Laminas | Laminas MVC 3.8, Mezzio | Zend Framework 1 to 3: tested up to PHP 7 at most | Move to Laminas or Mezzio. Laminas MVC won’t get PHP 8.5 support and ends on December 31, 2028. |
| Neos & Flow | Neos/Flow 8.0 | 7: PHP 8.1 · 3 to 5: PHP 7.x | Neos 9.2 requires PHP 8.4, so the PHP upgrade and the migration to Neos 9 go together. |
| TYPO3 | 12.4 (only via ELTS, the paid extension of security updates), 13.4, 14 | 11.5: PHP 8.3 · 8.7 to 10.4: PHP 7.4 | Upgrade through the LTS stages, ideally straight to TYPO3 13.4 or 14. |
| Drupal | 10.4 | 9: PHP 8.1 · 8: PHP 7.4 · 7: PHP 8.3 | From Drupal 7 to 9, a migration. Drupal 10.6 reaches end of life in December 2026; the target is usually Drupal 11. |
| Joomla | 5.x, 6.x | 4.4: PHP 8.3 · 3.10: PHP 8.0 | Via Joomla 4.4 to 5 or 6. |
| Contao | 5.3 LTS, 5.7 LTS, 6.0 | 4.13: PHP 8.3 · 4.9: PHP 8.1 · 4.4: PHP 7.3 | From Contao 4 to 5.3 or 5.7 LTS. |
| Craft CMS | Craft 4 and 5 | 3: PHP 8.1 | Craft 4 has had no support since April 30, 2026; the target is Craft 5. Test the plugins along with it. |
| Silverstripe | 6 | 5: PHP 8.3 · 4: PHP 8.1 · 3: PHP 7.4 | From Silverstripe 4 or 5 to 6; from Silverstripe 3, first the big jump to 4. |
| Statamic | 5 and 6 | 4: PHP 8.3 · 3.4: PHP 8.1 | Statamic 5 drops out of support at the end of 2026, so it’s usually worth going straight to Statamic 6. |
| Shopware | 6.6.10 | 6.5: PHP 8.3 · 6.4: PHP 8.1 · 5.7: PHP 8.2 | From Shopware 5, a migration to 6; from 6.4 and 6.5, an update to 6.6.10 or 6.7 including all plugins. |
| Magento | 2.4.8 | 2.4.7: PHP 8.3 · 2.3: PHP 7.4 | Magento 2.4.9 already requires PHP 8.5. Magento 1 only runs on current PHP as the community fork OpenMage LTS. |
For an application without a framework, no framework or CMS sets an upper limit for the PHP version. There, your code alone decides, and checking it with tools such as PHPCompatibility, PHPStan and Rector matters all the more.
How does a PHP upgrade work?
- Take stock. Which PHP version is running, which framework and package versions, which server extensions are used? The
composer.jsonand the hosting panel give the first answer. - Set up a copy. Bring code and database into a test environment with the new PHP version. The live site is only switched once the copy runs.
- Check automatically. Tools such as PHPCompatibility and PHPStan find removed functions and type errors, and Rector fixes many of them automatically.
- Update dependencies. Bring the framework and packages to versions that support the new PHP version. For big jumps, one major version at a time, each following the official upgrade guide.
- Test the most important workflows. Whatever your customers or your staff would notice right away: login, orders, forms, exports, integrations and scheduled tasks (cron jobs).
- Switch live, with a way back. Take a backup, switch the PHP version, deploy the new code. If something breaks, the previous state must be back within minutes.
- Keep watching. Follow the error logs closely in the first few days after the PHP upgrade, because some problems only show up in rare workflows, such as the month-end close.
Common pitfalls in a PHP upgrade
- The blank white page. A fatal error on load after the PHP upgrade, and nothing is displayed anymore. Most common reason: a removed PHP function or an incompatible package. The cause is in the PHP error log, not in the browser. What you can do if your website is already in that state is covered in the article Getting your web application running again.
- Packages without a successor. A module, an extension or a library is no longer maintained and doesn’t run on the new PHP version. Then you need a replacement or a fork.
- Silent behavior changes. Since PHP 8.0, comparisons such as
0 == "abc"are false instead of true. That doesn’t cause an error, but it produces wrong results, and only tests catch it. If there are no tests, a before-and-after comparison between the old and new PHP version shows where results have changed. - Differences between test and live. Different server extensions, different settings, different cron jobs on the live server. The test environment for the PHP upgrade should be as close to the live server as possible.
- Forgetting the command line. With some hosting providers, switching the PHP version in the panel only applies to the website, while cron jobs and scripts keep running on the old version. Both should be switched together.
What if nobody knows your application anymore?
If nobody knows your application anymore, it first needs someone who knows it again, and before the PHP upgrade comes an inventory: which parts depend on the old PHP version, which packages hold things back, how big is the step really? That is exactly what the Takeover Assessment from Unique-P shows, with a fixed price for the implementation. After that, ongoing maintenance keeps PHP, framework and packages up to date on a fixed schedule, so the next upgrade stays small.
If your application has already stopped after your hosting provider switched the PHP version, the emergency fix from Unique-P helps. How a takeover works overall is shown on the web application takeover page.
Which PHP versions does your framework or CMS support, and which versions does the upgrade go through?
The compatibility check covers 16 frameworks and CMS, including Laravel, Symfony, TYPO3, Drupal, Shopware and Magento. For a given version, it shows which PHP versions the vendor supports, whether those PHP versions still get security updates today, and whether PHP 8.6 is included. It also shows the upgrade path: the versions up to the first one that still gets security updates according to endoflife.date. The check does not estimate effort or cost.
PHP support: vendor system requirements, composer.json and the vendors’ automated tests, as of Oct 27, 2026. Support status: endoflife.date, retrieved Nov 24, 2026. endoflife.date has no data for CodeIgniter, Yii and Zend Framework & Laminas.
Result
Choose a system and version to see the supported PHP versions and the upgrade path here.
Sources
- [1]Supported Versions · php.net
- [2]Migrating from PHP 7.4.x to PHP 8.0.x, Backward incompatible changes · php.net
- [3]Migrating from PHP 8.1.x to PHP 8.2.x, Deprecated features · php.net
- [4]Migrating from PHP 8.3.x to PHP 8.4.x, Deprecated features · php.net
- [5]Migrating from PHP 5.6.x to PHP 7.0.x, Backward incompatible changes · php.net
- [6]Rector, automatisierte Upgrades und Refactorings · Rector
- [7]PHPCompatibility, Prüfregeln für PHP_CodeSniffer · GitHub
- [8]Laravel Support Policy · Laravel
- [9]Symfony Releases · Symfony
- [10]TYPO3 System Requirements · TYPO3 Association
- [11]PHP requirements · drupal.org
- [12]Shopware Requirements · Shopware
- [13]Adobe Commerce System Requirements · Adobe
- [14]endoflife.date · endoflife.date