Skip to content
Pricient by IOanyT

Legacy modernization · cost guide

PHP 5 to PHP 8 upgrade cost: what the jump involves and what drives the price

PHP 5.6 lost support in December 2018. What one published benchmark charges per version upgrade, why PHP 5 to 8 is several jumps, and what decides the cost.

Published 13 October 2026 · Pricient by IOanyT

The short answer

PHP 5.6 reached end of life on 31 December 2018. One published benchmark puts a single-version PHP upgrade at about €6,000 for a smaller web app and €24,000 for a larger SaaS product — and PHP 5 to 8 crosses several versions. Test coverage, dependencies, framework age and code consistency decide the cost more than size alone.

Where PHP versions stand today

VersionStatus (php.net)
PHP 5.6End of life 31 December 2018
PHP 7.0End of life 10 January 2019
PHP 7.4End of life 28 November 2022
PHP 8.1End of life 31 December 2025
PHP 8.2Security support until 31 December 2026
PHP 8.4Security support until 31 December 2028
PHP 8.5Security support until 31 December 2029

Sources: php.net, unsupported branches and supported versions, checked 5 October 2026.

An application on PHP 5 has had no security fixes from the PHP project for more than seven years. Upgrading to PHP 8.2 now would buy little over a year.

What published upgrade prices look like

ApplicationOne PHP or framework version
Smaller web appAbout €6,000
Larger SaaS productAbout €24,000

Source: Accesto, How much does it cost to upgrade PHP? (published 11 November 2025, updated 13 January 2026). These figures are per version step. PHP 5 to PHP 8 crosses several, often alongside a framework that has also moved on.

What drives the cost

The same benchmark names test coverage “the most important part of upgrading”. The full set of drivers it lists:

DriverWhy it matters
Test coverageWithout tests, every change has to be checked by hand — or not at all
Framework ageAn old framework may need its own upgrade, or replacing
Third-party dependenciesLibraries abandoned before PHP 7 need replacements
Code consistencyOne pattern repeated is quick to fix; fifty patterns are not
Infrastructure readinessServers, hosting and deployment have to move with the code
Size of the jumpPHP 5 to 8 means several sets of breaking changes at once

Upgrade in place, or modernize?

Sometimes a straight upgrade is right: the code is reasonable, the framework still exists, the business logic is sound. Sometimes the upgrade is the moment to move module by module to something new, while the old system keeps running the parts that have not moved. The deciding question is whether you would build the same thing again today.

What to have ready before you ask for a quote

  1. Which PHP version and framework it runs on now
  2. Roughly how big it is, and whether it has any automated tests
  3. Which libraries and outside services it depends on
  4. Who uses it, and which parts can never go down

How Pricient quotes a modernization

Modernization starts with a Legacy System Specification Assessment. It produces a written specification, a risk register, a keep-vs-replace cost comparison and a staged replacement plan, and its fee is credited in full against the first build stage if it starts within 90 days of the report. You can start with a conversation about the system; we ask for read-only code access only when the assessment begins. Tell us what you are running and you get a fixed quote for the assessment.

More on legacy modernization →

Questions

Asked about this

Is PHP 5 still supported?

No. PHP's own end-of-life list shows PHP 5.6 ended on 31 December 2018, and PHP 7.4 on 28 November 2022. Even PHP 8.1 reached end of life on 31 December 2025.

How much does a PHP upgrade cost?

One published benchmark puts upgrading by one PHP or framework version at about €6,000 for a smaller web app and €24,000 for a larger SaaS product (Accesto, updated January 2026). A move from PHP 5 to PHP 8 crosses several versions, so expect a multiple of a single step.

Which PHP 8 version should we upgrade to?

A version with years of support left. On php.net's schedule (checked 5 October 2026), PHP 8.4 receives security support until 31 December 2028 and PHP 8.5 until 31 December 2029, while PHP 8.2's ends on 31 December 2026.

Can we upgrade without stopping the business?

Usually, yes. Upgrades can move part by part, with tests that prove each part behaves as before. The weaker the existing tests, the more of the work goes into establishing that baseline first.

Defined by both lists

Describe your project. See what comes back.

Start your spec

No signature, no call. A business email unlocks the full quote.