News · 17 November 2026
PHP 8.2 reaches end of life on 31 December 2026
PHP 8.2 reaches end of life on 31 December 2026. From 1 January it receives no more security fixes, according to the php.net security page.
That sounds like a date far away, but the 2026 record on the same page shows why it matters. It lists security releases on 7 May, 2 July, 30 July, 24 September, 21 October and 19 November, six in seven months, and the one on 21 October fixed two critical remote code execution flaws. A version without updates stays exposed to everything published after its last release.
How to prepare in six weeks.
- Find out what you run.
php -von the server, or the PHP page of your hosting panel. Many shops and WordPress sites run on 8.1 or 8.2 without anyone having decided it. - Choose the target. php.net lists security support until the end of 2027 for 8.3, 2028 for 8.4 and 2029 for 8.5. PHP 8.6 came out on 19 November, which is too new for most plugins and modules; 8.4 or 8.5 is the sensible range today.
- Check compatibility before the switch. Themes, plugins, modules and custom code can use features that were removed or that now raise warnings. PrestaShop, WordPress and Laravel each state the PHP versions they support; check their documentation for your version.
- Test on a copy. Run the site on 8.4 or 8.5 on a staging copy, go through checkout, login, forms and the back office, and read the error log. It takes an afternoon on a small site.
- Switch with a way back. Keep the previous version selectable for a few days.
- If a component is not compatible, you have three options: update it, replace it, or isolate it. Staying on an unsupported version is a fourth, and it is the one to avoid.
If you would rather not discover incompatibilities in the last week of December, this is the right moment to start. We do PHP upgrades as a fixed-price job, with a copy first and a way back.
Sources: