Menu

Upgrading an old PHP app in steps: the order we follow before PHP 8.2 runs out
📰

Upgrading an old PHP app in steps: the order we follow before PHP 8.2 runs out

DEV Community: laravel·Brightcode·12 days ago
#fZqvMAWS
#devtolaravel#devto#dev#platform#version
Reading 0:00
15s threshold

By the Brightcode team, a small web development agency in Delhi NCR. Reviewed by Gaurav Khokkar, Founder.

A lot of the PHP apps we're asked to look at have the same story. They were built a few years ago, they still work, and nobody has touched the server's PHP version since launch.

That's about to matter for a lot of teams. On the official PHP support calendar, PHP 8.2 gets its last security fixes on 31 December 2026 . Everything from 8.1 down is already past end of life. W3Techs' data for 29 October 2026 shows 26.5% of PHP websites still on PHP 7 and 7.7% on PHP 5 .

Here's the order we follow when we upgrade one of these apps. Nothing in it is clever. The value is in doing the steps in this order and not skipping any.

1. Write down what's actually running

Before changing anything, record:

The PHP version on the server ( php -v over SSH, or the hosting panel).

The framework and its version, if there is one.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.