PHP versions exposed by 463,544 websites

Distribution of PHP versions across the public sites in our index whose servers leak the version in HTTP response headers.

Sample is biased. Most modern hosts hide the PHP version (PHP's expose_php = Off, CDN header stripping, security plugins). This page shows what's visible — typically less than 1% of all PHP-based sites — and skews toward installations without basic header hardening. Do not extrapolate these shares to "the web at large".

PHP 8.4 — 52,320 sites (11.3%) PHP 8.5 — 19,233 sites (4.1%) PHP 8.3 — 109,373 sites (23.6%) · security-only PHP 8.2 — 82,877 sites (17.9%) · security-only PHP 7.4 — 74,156 sites (16.0%) · end of life PHP 8.1 — 47,068 sites (10.2%) · end of life PHP 8.0 — 21,080 sites (4.5%) · end of life PHP 5.6 — 13,937 sites (3.0%) · end of life PHP 7.3 — 12,616 sites (2.7%) · end of life PHP 7.2 — 9,525 sites (2.1%) · end of life PHP 5.4 — 4,962 sites (1.1%) · end of life PHP 7.0 — 4,662 sites (1.0%) · end of life PHP 5.3 — 3,847 sites (0.8%) · end of life PHP 7.1 — 3,462 sites (0.7%) · end of life PHP 5.5 — 2,254 sites (0.5%) · end of life PHP 5.2 — 1,797 sites (0.4%) · end of life PHP 4.4 — 217 sites (0.0%) · end of life PHP 4.3 — 68 sites (0.0%) · end of life PHP 5.1 — 54 sites (0.0%) · end of life PHP 3.1 — 10 sites (0.0%) · end of life PHP 4.1 — 7 sites (0.0%) · end of life PHP 5.0 — 4 sites (0.0%) · end of life PHP 3.0 — 3 sites (0.0%) · end of life PHP 6.4 — 3 sites (0.0%) · end of life PHP 1.3 — 2 sites (0.0%) · end of life PHP 4.2 — 1 sites (0.0%) · end of life PHP 4.0 — 1 sites (0.0%) · end of life PHP 4.8 — 1 sites (0.0%) · end of life PHP 8.6 — 2 sites (0.0%) PHP 16.6 — 1 sites (0.0%) PHP 9.3 — 1 sites (0.0%) 463,544 sites
VersionStatusSitesShare
PHP 8.3 security-only 109,373 23.6%
PHP 8.2 security-only 82,877 17.9%
PHP 7.4 end of life 74,156 16.0%
PHP 8.4 supported 52,320 11.3%
PHP 8.1 end of life 47,068 10.2%
PHP 8.0 end of life 21,080 4.5%
PHP 8.5 supported 19,233 4.1%
PHP 5.6 end of life 13,937 3.0%
PHP 7.3 end of life 12,616 2.7%
PHP 7.2 end of life 9,525 2.1%
PHP 5.4 end of life 4,962 1.1%
PHP 7.0 end of life 4,662 1.0%
PHP 5.3 end of life 3,847 0.8%
PHP 7.1 end of life 3,462 0.7%
PHP 5.5 end of life 2,254 0.5%
PHP 5.2 end of life 1,797 0.4%
PHP 4.4 end of life 217 0.0%
PHP 4.3 end of life 68 0.0%
PHP 5.1 end of life 54 0.0%
PHP 3.1 end of life 10 0.0%
PHP 4.1 end of life 7 0.0%
PHP 5.0 end of life 4 0.0%
PHP 3.0 end of life 3 0.0%
PHP 6.4 end of life 3 0.0%
PHP 1.3 end of life 2 0.0%
PHP 8.6 — 2 0.0%
PHP 4.2 end of life 1 0.0%
PHP 4.0 end of life 1 0.0%
PHP 4.8 end of life 1 0.0%
PHP 16.6 — 1 0.0%
PHP 9.3 — 1 0.0%

Method

Our crawler reads each site's homepage and records the X-Powered-By and Server response headers. When either contains a string like PHP/8.3.10, the version is stored as a plain fact (463,544 sites at last refresh). End-of-life status is computed at render time against today's date — never frozen in the database — using the official PHP branch support timeline.

Sites whose servers don't disclose the version (the vast majority) are not in the sample — we never guess.