Wiki / Version disclosure
Risk: PHP version
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.
- 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 → ApplyPlesk (from the Plesk documentation)
Websites & Domains → PHP → PHP version → OKDirectAdmin (from the DirectAdmin documentation)
Domain Setup → PHP version selectorAvailable when the administrator has installed several versions and enabled php_version_selector.

php -l catches removed syntax and deprecated constructs, while a removed function only shows up when the file is run.How to check
php -vExpected
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.
| Branch | All fixes until | Security fixes until | Status on 18 Nov 2026 | In our report |
|---|---|---|---|---|
| 8.5 | 31 Dec 2027 | 31 Dec 2029 | Active support | OK |
| 8.4 | 31 Dec 2026 | 31 Dec 2028 | Active support | OK |
| 8.3 | ended 31 Dec 2025 | 31 Dec 2027 | Security fixes only | OK |
| 8.2 | ended 31 Dec 2024 | 31 Dec 2026 | Security fixes only, six weeks left | Warning |
| 8.1 | ended | ended 31 Dec 2025 | End of life; last release 8.1.34 | Risk |
| 8.0 | ended | ended 26 Nov 2023 | End of life; last release 8.0.30 | Risk |
| 7.4 | ended | ended 28 Nov 2022 | End of life; last release 7.4.33 | Risk |
| 5.6 | ended | ended 31 Dec 2018 | End of life; last release 5.6.40 | Risk |
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
- php.net: supported versions
- php.net: unsupported branches
- PHP manual: backward incompatible changes in 8.0
- PHP manual: deprecated features in 8.4
- PHP manual: command line options (-l)
- cPanel documentation: MultiPHP Manager
- Plesk documentation: PHP settings
- DirectAdmin documentation: multiple PHP versions
- WordPress.org: requirements
- Debian security FAQ: why fixes are backported to the old version
- AGuard: security dataset of Lithuanian websites, DOI 10.5281/zenodo.24282573
Changes
- Page published; branch dates checked against php.net, the code check command tested with PHP 8.4.14.
