Wiki / Version disclosure

Risk: PHP version7.4.33: PHP 7.4 is no longer supported (security patches have ended)

The site runs a PHP branch that no longer gets security fixes, so newly found PHP vulnerabilities stay open in it for good. Plan the upgrade in weeks, not months. On 18 November 2026 the supported branches are 8.2, 8.3, 8.4 and 8.5, and support for 8.2 ends on 31 December 2026.

What it does not mean. It does not mean the site has been broken into or that a specific hole was found in it. The line appears only when the server itself shows the PHP version in a header; hide the header and the line goes away with nothing fixed. One real exception: Debian and similar systems backport security fixes without changing the version number, so a system package can be patched while looking old, as long as the system release itself is supported.

Aleksandr IzmalkovFacts checked:

In our report
Risk (red) for 8.1 and older, warning (yellow) for 8.2; category weight 0.5 of 2.0
Time to fix
Switching in the hosting panel: a minute. Testing the site first: from an hour
Can it break things
Yes: old themes, plugins and custom code can stop with a fatal error

How to fix it

Check the code against the new version, take a backup, then switch. The panel steps come from the vendors' documentation; we did not test them. If the version you need is not listed, the hosting provider has to install it.

Before switching: check the code (tested with PHP 8.4.14)

find . -name '*.php' -exec php -d display_errors=1 -l {} \; 2>/dev/null | grep -v '^No syntax errors'

Run it in the site directory with the php of the target version. Empty output means no syntax errors. On our sample it caught $name{0} (removed in 8.0, a parse error) and function send(Mailer $mailer = null, $to) (deprecated since 8.4). It does not see removed functions: a file calling mysql_connect() and each() passed as clean and failed only when run.

cPanel (from the cPanel documentation)

MultiPHP Manager → select the domain's checkbox → PHP Version → Apply

Plesk (from the Plesk documentation)

Websites & Domains → PHP → PHP version → OK

DirectAdmin (from the DirectAdmin documentation)

Domain Setup → PHP version selector

Available when the administrator has installed several versions and enabled php_version_selector.

Terminal: php -l on PHP 8.4.14 reports a parse error for curly-brace access and a deprecation notice, but misses the removed function mysql_connect
PHP 8.4.14 on 18 November 2026: php -l catches removed syntax and deprecated constructs, while a removed function only shows up when the file is run.

How to check

php -v

Expected

PHP 8.4.14 (cli) (built: Oct 21 2025 19:23:55) (NTS)

php -v shows the command-line version; where a panel sets the version per domain, the site may run a different one. What the site itself answers is shown by curl -sI https://example.com | grep -i x-powered-by (for example x-powered-by: PHP/8.4.14), unless the header is hidden.

What can break

  • PHP 8.0 removed curly-brace offset access ($a{0}), each(), create_function(), the (real) cast and __autoload(). Code that uses them stops with a fatal error.
  • What usually breaks is not the CMS itself but plugins and themes left without updates for years. WordPress today recommends PHP 8.3 or greater, although it still runs on 7.4.

Possible values

Branch status according to php.net on 18 November 2026. Each branch gets all fixes for two years, then critical security fixes only for two more. 8.5 lasts longest; if a plugin is not ready for it yet, 8.4 is covered until the end of 2028. Moving to 8.2 today buys six weeks.

BranchAll fixes untilSecurity fixes untilStatus on 18 Nov 2026In our report
8.531 Dec 202731 Dec 2029Active supportOK
8.431 Dec 202631 Dec 2028Active supportOK
8.3ended 31 Dec 202531 Dec 2027Security fixes onlyOK
8.2ended 31 Dec 202431 Dec 2026Security fixes only, six weeks leftWarning
8.1endedended 31 Dec 2025End of life; last release 8.1.34Risk
8.0endedended 26 Nov 2023End of life; last release 8.0.30Risk
7.4endedended 28 Nov 2022End of life; last release 7.4.33Risk
5.6endedended 31 Dec 2018End of life; last release 5.6.40Risk

Our data

4.42%

of 73,386 inspected .lt websites (3,247) ran PHP 7 or older. The last PHP 7 branch, 7.4, reached end of life on 28 November 2022; its final release is 7.4.33. Dataset, 16 November 2026

Sources

Next