Upgravo › Guides

PHP 7.4 is end of life: what breaks in WordPress when you move to PHP 8

Last reviewed 8 November 2026 · by Nicolás Alejandro Salinas

PHP 7.4 stopped receiving security fixes on 28 November 2022. A site still on it in 2026 is running four years of unpatched vulnerabilities, and WordPress itself now recommends PHP 8.3. The move to PHP 8 is the largest jump in PHP's history for old plugin code; here is what changes, by version, and what it does to a typical WordPress site.

PHP 8.0 (fatal changes)

PHP 8.1 (deprecations)

PHP 8.2 (deprecations)

PHP 8.3 (deprecations, few)

PHP 8.4 (deprecations)

PHP 8.5 (November 2026)

What this means for a site

A site that worked on 7.4 and has not had its plugins updated since will, on PHP 8.x: fail outright on one or two plugins (8.0 fatals), and write thousands of deprecation notices from a dozen others (8.1-8.4). The fatals are what you must fix before switching; the notices are the list of plugins to replace over the next year.

Find both before switching: Upgravo scans every installed plugin and theme against the target version and reports Breaks and Notices separately, per plugin with file and line.

Install it from WordPress.org: Upgravo – PHP Compatibility Check.

Which version to move to

Skip 8.0 and 8.1: both are past security support. Go to 8.3 (fixes until end of 2027) or 8.4 (end of 2028). The jump from 7.4 to 8.3 is not harder than to 8.0; the fatal changes all happened in 8.0 and everything after is deprecations.

Sources

More guides