Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Statistics · Statistics

PHP Version Usage Statistics (2026)

Short answer

As of 19 November 2026, PHP 8 runs on 68.1% of websites that use PHP, PHP 7 runs on 24.6% and PHP 5 runs on 7.3%, according to W3Techs. That leaves about one site in three on a PHP version that no longer gets security fixes from the PHP project. PHP 8.3 is the single most used version, at 35.7% of PHP 8 sites.

Key takeaways

  • PHP 8 runs on 68.1% of PHP websites as of 19 November 2026, while PHP 7 runs on 24.6% and PHP 5 on 7.3%.
  • About one PHP site in three, 32.0%, runs PHP 7, 5 or 4, none of which gets security fixes from the PHP project.
  • PHP 8.3 is the most used single version at 35.7% of PHP 8 sites, ahead of PHP 8.2 at 25.6%.
  • PHP 8.2 stops getting security fixes on 31 December 2026, so sites on it need a move before that date.
  • WordPress.org recommends PHP 8.3 or greater, and the WordPress hosting handbook recommends PHP 8.4 or later for production.

What PHP versions do websites use in November 2026?

PHP 8 runs on 68.1% of PHP websites, PHP 7 runs on 24.6%, and PHP 5 runs on 7.3% as of 19 November 2026.

These shares come from W3Techs, which counts the share of each version among websites it detects as using PHP. The same page puts PHP 4 at 0.1%, so the four major versions add up to the whole PHP web.

PHP versionShare of PHP sitesSupport status as of November 2026
PHP 868.1%Supported branches are 8.2 to 8.5
PHP 724.6%No longer supported
PHP 57.3%No longer supported
PHP 40.1%No longer supported

The headline is the split inside PHP 8 itself. PHP 8.3 leads at 35.7% of PHP 8 sites, PHP 8.2 follows at 25.6%, and PHP 8.4 sits at 13.2% as of 19 November 2026, according to the W3Techs PHP 8 history.

How much of the web runs on PHP at all?

PHP runs on 68.1% of websites whose server-side language W3Techs can detect, as of 19 November 2026.

That figure comes from the W3Techs PHP usage page, and its wording matters. It is a share of sites with a known server-side language, not a share of every website in existence, so sites that hide their language are left out.

WordPress sits inside that PHP share because WordPress is a PHP application. W3Techs puts WordPress at 38.5% of all websites and 57.4% of sites with a known content management system as of 19 November 2026.

Do not compare those two WordPress figures with the PHP figure directly. The PHP figure uses known-language sites as its base, while the WordPress figure of 38.5% uses all websites as its base.

Which PHP 8 version is most common?

PHP 8.3 is the most common single PHP version, at 35.7% of PHP 8 sites as of 19 November 2026.

The full PHP 8 split comes from the W3Techs PHP 8 history, which lists every subversion above 1% of PHP sites. PHP 8.2 is second at 25.6%, and no other subversion passes 14%.

PHP 8 versionShare of PHP 8 sites as of 19 November 2026
8.335.7%
8.225.6%
8.413.2%
8.113.0%
8.57.5%
8.05.0%

Two rows in that table need care. PHP 8.1 holds 13.0% of PHP 8 sites and PHP 8.0 holds 5.0%, yet neither gets security fixes any more, since php.net lists only 8.2 to 8.5 as currently supported.

Added together, 8.1 and 8.0 make up 18.0% of PHP 8 sites on versions with no security support. That is a simple sum of the W3Techs shares above, not a separate survey finding.

How fast is PHP 8 adoption growing?

PHP 8 grew from 52.7% of PHP sites on 1 November 2025 to 68.1% on 19 November 2026, a rise of 15.4 points in about a year.

The trend comes from the W3Techs PHP version history, which reports the same shares each month. Over the same period, PHP 7 fell from 37.6% to 24.6%, and PHP 5 fell from 9.7% to 7.3%.

Inside PHP 8, the shift is just as clear. PHP 8.3 rose from 19.2% of PHP 8 sites on 1 November 2025 to 35.7% on 19 November 2026, while PHP 8.2 fell from 37.9% to 25.6% over the same dates, according to the W3Techs PHP 8 history.

PHP 8.5 is the newest branch in the table, and it grew from under 0.1% of PHP 8 sites on 1 November 2025 to 7.5% on 19 November 2026. PHP 8.4 also grew, from 5.3% to 13.2% over the same period.

How many PHP sites run a version with no security fixes?

About one PHP site in three, 32.0%, runs a version with no security fixes as of 19 November 2026.

That 32.0% is the sum of the W3Techs shares for PHP 7 (24.6%), PHP 5 (7.3%) and PHP 4 (0.1%). The PHP project lists only branches 8.2 to 8.5 as currently supported on its supported versions page, so every older branch is past the end of its support.

The risk is not only in PHP 7 and 5. PHP 8.0 at 5.0% of PHP 8 sites and PHP 8.1 at 13.0% also get no security fixes, even though they carry the PHP 8 name.

Count those two as well, and the unsupported share grows. PHP 8.0 and 8.1 make up 18.0% of PHP 8 sites, which is 12.3% of all PHP sites, since PHP 8 itself is 68.1% of the PHP web.

Add that to the 32.0% on PHP 7, 5 or 4, and 44.3% of all PHP sites run a branch with no security support. Both steps are simple sums of the W3Techs shares above.

Which PHP versions still get security fixes?

Only PHP 8.2, 8.3, 8.4 and 8.5 still get security fixes as of November 2026, and PHP 8.2 stops on 31 December 2026.

The dates come from php.net, which gives each branch two years of active support and then two more years of security fixes only. After those four years, the branch reaches end of life.

PHP branchFirst releasedSecurity fixes until
8.28 December 202231 December 2026
8.323 November 202331 December 2027
8.421 November 202431 December 2028
8.520 November 202531 December 2029

Active support ends before security support does. PHP 8.4 leaves active support on 31 December 2026, and PHP 8.5 leaves it on 31 December 2027, but both keep getting security fixes until the dates in the table.

PHP 8.2 is the urgent case. It has been on security fixes only since 31 December 2024, and its last security fix date is 31 December 2026, about six weeks after this guide was checked.

What PHP version does WordPress recommend?

WordPress.org recommends PHP 8.3 or greater, and the WordPress hosting handbook recommends PHP 8.4 or later for production sites.

The WordPress.org requirements page lists PHP 8.3 or greater as the recommended version. It also says WordPress still runs on PHP 7.4 and newer, but warns that those older versions have reached end of life and may expose a site to security flaws.

The WordPress hosting handbook goes one step further for hosts. It recommends PHP 8.4 or later for production, notes that PHP 8.4 is fully supported by WordPress 6.7 and later, and that PHP 8.5 is fully supported by WordPress 6.9 and later.

WordPress 7.1 requires PHP 7.4 or later and is fully compatible with PHP 7.4 through 8.5, according to the same handbook. Versions 7.4, 8.0 and 8.1 are kept for backward compatibility only, so meeting the minimum is not the same as running a supported version.

If your host offers a choice, which PHP version to use for WordPress walks through the trade-offs.

Once you have picked a version, how to update the PHP version in WordPress covers the switch itself.

How do developers' PHP versions compare with live sites?

Developers run newer PHP than live websites do: 89% of surveyed PHP developers use PHP 8.x, against 68.1% of PHP sites.

That developer figure comes from JetBrains State of PHP 2025, based on 1,720 developers who named PHP as their main language. In the same survey, 33% use PHP 7.x and 8% use PHP 5.6 or earlier.

Those three shares add up to more than 100% because respondents could name several versions. JetBrains also notes its results may skew toward users of its own products, since those developers may have been more likely to take the survey.

The same survey found that 58% of PHP developers do not plan to move to another language in the next year. Developers adopt new PHP branches faster than site owners do, which is one reason live-site figures lag behind survey figures.

What do the numbers mean for your site?

Check which PHP version your site runs, then compare it with the support dates above before you plan anything else.

WordPress.org publishes a PHP versions in use chart on its statistics page, so the WordPress share of each version is public. Your own version is what matters for your site, and your host can tell you what it is.

If you run PHP 8.3 or 8.4, you sit with the largest groups of sites and you still get security fixes. If you run PHP 8.2, set a date to move before 31 December 2026, when its security fixes stop.

Speed is a separate question from support, and how PHP version affects WordPress speed covers that side.

For hosting limits that interact with PHP, see what PHP workers are.

What mistakes should you avoid?

Avoid reading the shares out of context, treating PHP 8.0 or 8.1 as safe, and leaving PHP 8.2 in place past its deadline.

  • Do not read the 68.1% PHP share as a share of all websites. It is a share of sites whose server-side language W3Techs can detect, as of 19 November 2026.
  • Do not treat PHP 8.0 or 8.1 as safe because they start with 8. Neither gets security fixes any more, and together they hold 18.0% of PHP 8 sites.
  • Do not leave PHP 8.2 in place past 31 December 2026 without a plan. Its security fixes end on that date, and WordPress hosting requirements list PHP 8.3 or greater as the recommended floor.
  • Do not mix up developer surveys with site counts. JetBrains surveyed 1,720 developers, while W3Techs counts websites, so the two sets of shares describe different groups.
  • Do not switch PHP versions without checking your plugins and themes first. The WordPress hosting handbook advises hosts to test their full stack before making a new PHP version the default for production.

Frequently asked questions

What is the most used PHP version in November 2026?

PHP 8.3 is the most used single version, at 35.7% of PHP 8 sites as of 19 November 2026. PHP 8.2 is second at 25.6%, and PHP 8.4 is third at 13.2%. Across all major versions, PHP 8 holds 68.1% of PHP sites, PHP 7 holds 24.6% and PHP 5 holds 7.3%.

Is PHP 7 still safe to use?

No. The PHP project lists only branches 8.2 to 8.5 as currently supported, so PHP 7 gets no security fixes at all. As of 19 November 2026, PHP 7 still runs on 24.6% of PHP websites, which means about one PHP site in four gets no fix when a new flaw appears in PHP 7. Moving to PHP 8.3 or newer is the fix.

When does PHP 8.2 stop getting security fixes?

PHP 8.2 stops getting security fixes on 31 December 2026. It has been on security fixes only since 31 December 2024, after two years of active support. After that date, the PHP project will release no further fixes for the 8.2 branch, so sites still on it should move to PHP 8.3, 8.4 or 8.5 before the deadline.

What PHP version should a WordPress site run?

WordPress.org recommends PHP 8.3 or greater, and the WordPress hosting handbook recommends PHP 8.4 or later for production sites. WordPress 7.1 still runs on PHP 7.4 and newer, but versions 7.4, 8.0 and 8.1 are kept for backward compatibility only and get no security fixes from the PHP project.

Do these figures cover every website on the internet?

No. The W3Techs figures cover websites in its survey where it can detect the server-side language, so sites that hide their language are left out. The JetBrains figures cover 1,720 surveyed developers, not websites. Each number describes its own group, so the shares should not be added together or treated as a census of the whole web.

How much of the web runs on PHP?

PHP runs on 68.1% of websites whose server-side language can be detected, as of 19 November 2026. WordPress, which is a PHP application, runs on 38.5% of all websites and 57.4% of sites with a known content management system. The PHP figure and the WordPress figures use different bases, so they should not be compared directly.

Sources

  1. Usage Statistics and Market Share of PHP for Websites W3Techs
  2. Historical Trends in the Usage Statistics of PHP Versions W3Techs
  3. Historical Trends in the Usage Statistics of PHP Version 8 W3Techs
  4. PHP: Supported Versions PHP.net
  5. Requirements WordPress.org
  6. Server Environment Make WordPress Hosting
  7. The State of PHP 2025 JetBrains
  8. Usage Statistics and Market Share of WordPress for Websites W3Techs

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test