Close Menu
    Facebook X (Twitter) Instagram Threads
    The Open Source Post
    • About
      • About FOSS Post
      • Donate
      • Privacy Policy
      • Services
    • Q&A
      • Take a Quiz
    • Linux
      • Ubuntu
    • AI
    • News
    • Statistics
    • Featured
      • Blog
    • How To
    • Software
    • Resources
      • Open Source Android Apps Series
    • Contact Us
    • Read More
      • Insights
    Facebook X (Twitter) YouTube
    The Open Source Post
    Home - PHP Statistics 2026 [Hosting, CMS And Developer Numbers]
    Coding

    PHP Statistics 2026 [Hosting, CMS And Developer Numbers]

    AudreyBy AudreySeptember 3, 2026No Comments8 Mins Read598 Views

    PHP is detected on 70.2% of all websites whose server-side programming language is known, according to W3Techs on 3 September 2026. Only 44.5% of measured sites run PHP 8. This post covers version share, security support dates, migration activity, developer tooling and the WordPress vulnerability count behind those numbers.

    PHP Statistics

    PHP is used by 70.2% of websites with a known server-side language (W3Techs, 3 September 2026).
    63.4% of PHP websites run PHP 8, and 28.7% still run PHP 7 (W3Techs, 3 September 2026).
    68% of surveyed PHP users completed a migration in the past 12 months, down from 76% a year earlier (Zend, 2026).
    11,334 new vulnerabilities were found in the WordPress ecosystem during 2025, 91% of them in plugins (Patchstack, 2026).
    18.9% of Stack Overflow respondents did extensive PHP work in the past year (Stack Overflow, 2025).

    PHP Version Statistics: How Much Of The Web Runs PHP 8?

    W3Techs tracks version share among websites it detects as running PHP. PHP 8 holds 63.4% of them.

    PHP 7 remains on 28.7% of PHP websites, and PHP 5 on 7.9%. PHP 4 is still recorded on 0.1%.

    PHP major versionShare of PHP websitesCommunity support
    PHP 863.4%Partly supported (8.2–8.5)
    PHP 728.7%Ended
    PHP 57.9%Ended
    PHP 40.1%Ended

    Source: W3Techs, usage statistics of PHP for websites, 3 September 2026. Shares cover websites detected as using PHP.

    Measured against every site with a detectable server-side language, PHP 8 sits at 44.5% and PHP 7 at 20.1%. The same W3Techs survey shows where those sites are hosted, which lines up with wider Linux web server market share readings.

    PHP 8 Statistics By Minor Version

    PHP 8.3 leads the PHP 8 installed base at 33.2%, ahead of PHP 8.2 at 29.4%. PHP 8.5, released on 20 November 2025, reached 3.1% in roughly nine months.

    PHP 8 subversionShare of PHP 8 websites
    8.333.2%
    8.229.4%
    8.116.5%
    8.411.4%
    8.06.4%
    8.53.1%
    8.6less than 0.1%

    Source: W3Techs, usage statistics of PHP version 8 for websites, 2 September 2026.

    PHP 7 Statistics By Minor Version

    Within PHP 7, one release accounts for nearly everything. PHP 7.4 covers 73.6% of PHP 7 websites, followed by 7.3 at 10.5% and 7.2 at 8.4%. PHP 7.0 sits at 3.9% and 7.1 at 3.6%.

    Source: W3Techs, usage statistics of PHP version 7 for websites, 1 September 2026.

    Which PHP Versions Still Get Security Patches?

    The PHP Group supports each branch actively for two years, then for two more years of critical security fixes only. Four branches were still receiving fixes on 3 September 2026.

    BranchInitial releaseActive support untilSecurity support until
    8.28 Dec 202231 Dec 202431 Dec 2026
    8.323 Nov 202331 Dec 202531 Dec 2027
    8.421 Nov 202431 Dec 202631 Dec 2028
    8.520 Nov 202531 Dec 202731 Dec 2029

    Source: php.net, Supported Versions, accessed 3 September 2026.

    PHP 8.1 reached end of life on 31 December 2025 and PHP 8.0 on 26 November 2023. PHP 7.4, the branch behind most PHP 7 sites, ended on 28 November 2022. PHP 5.6 ended on 31 December 2018 and PHP 4.4 on 7 August 2008.

    Source: php.net, Unsupported Branches, accessed 3 September 2026.

    PHP Migration Statistics From The 2026 Zend Survey

    Zend by Perforce surveys self-identified PHP users each year. The 2026 edition draws on 317 PHP respondents out of 712 responses to the 2026 State of Open Source Survey.

    Respondents could select several versions, so the production figures below overlap and cannot be added together.

    PHP 8.3 was reported in 57% of applications, PHP 8.4 in 53%, PHP 8.2 in 41% and PHP 7.4 in 32%. Zend puts roughly 40% of teams on an end-of-life version and 60% on a community-supported one.

    2026 PHP Landscape Report findingShare of respondents
    Completed a migration in the past 12 months68%
    Did not complete a migration32%
    Migration planned within the next 12 months67%
    Migration planned, but not in the next 12 months9%
    No migration plans at this time21%
    Planning to retire PHP applications3%

    Source: Zend by Perforce, 2026 PHP Landscape Report, survey year 2026.

    The 68% completion rate is down from 76% in 2025. Perforce reported separately that 76% of surveyed PHP users have an upgrade or migration planned.

    Where Teams Moved And What Slowed Them Down

    Among those who migrated, PHP 7.4 was the most common version left behind at 39%, then PHP 8.1 at 30% and PHP 8.0 at 29%. PHP 8.4 was the top destination at 57%.

    Testing was named the most time-consuming part of a migration by 42% of respondents, ahead of refactoring at 36%, planning at 9% and infrastructure provisioning at 6%. Multiple answers were allowed.

    Only 1 in 4 teams running end-of-life PHP used third-party long-term support. Zend found those buyers were 10% more likely to have finished a migration in the past year.

    Source: Zend by Perforce, 2026 PHP Landscape Report, survey year 2026.

    PHP Developer Statistics: Frameworks, Testing And Tooling

    JetBrains collected 1,720 responses from developers naming PHP as their main language in its Developer Ecosystem Survey 2025. JetBrains notes the sample may skew toward users of its own products.

    Laravel leads framework use at 64%. WordPress follows at 25% and Symfony at 23%.

    JetBrains State of PHP 2025 metricShare of respondents
    Using PHP 8.x89%
    Using PHP 7.x33%
    Using PHP 5.6 or earlier8%
    PHPUnit50%
    Pest17%
    Write no tests at all32%
    PHPStan36%
    Use no code quality tools regularly42%
    Regularly use AI assistants or AI-powered editors80%

    Source: JetBrains, The State of PHP 2025 (Developer Ecosystem Survey 2025), n = 1,720. Several questions allowed multiple answers, so shares overlap.

    Set the 32% who write no tests against Zend’s finding that testing is the single largest migration pain point. PhpStorm or IntelliJ IDEA with the PHP plugin reached 68%, up ten percentage points, while Visual Studio Code fell to 23%.

    PHP Security Statistics: Where The Vulnerabilities Actually Sit

    Patchstack counts new vulnerabilities across the WordPress ecosystem each calendar year. The 2025 total was 11,334, a 42% rise on 2024.

    Almost none of that sits in WordPress core. Patchstack recorded six core vulnerabilities in 2025, all low priority, on a platform W3Techs measures across a large share of the web.

    Patchstack metric20242025
    New vulnerabilities found (count)7,96611,334
    Found in plugins (share)96%91%
    Found in themes (share)4%9%
    Found in WordPress core (count)76
    Not fixed in time for disclosure (share)33%46%

    Source: Patchstack, State of WordPress Security in 2025 and State of WordPress Security in 2026, calendar years 2024 and 2025.

    Of the 2025 total, 1,966 vulnerabilities (17%) carried a high severity score. Patchstack reports the weighted median time to first exploitation for heavily exploited flaws at five hours, and found that hosting defences blocked 26% of attacks in its pentest. That timescale rewards detection and filtering at the edge, which is where self-hosted WAF options come in.

    PHP Ecosystem Statistics: Packagist And Stack Overflow

    Packagist, the default Composer repository, published these totals on 3 September 2026.

    Packagist totalFigure
    Packages registered466,248
    Versions available5,781,603
    Packages installed since 13 April 2012197,009,379,044

    Source: Packagist.org, install statistics, accessed 3 September 2026.

    Developer-side usage looks very different from deployment share. In the 2025 Stack Overflow Developer Survey, 19.1% of professional developers reported extensive PHP work in the past year.

    PHP scored 64.2% on the survey’s admired measure, the share of people who used it and want to keep using it. Broader language ranking comparisons are collected in this programming language rankings roundup.

    Source: Stack Overflow Developer Survey 2025, professional developers, n = 24,759 for the language question.

    Laravel was used by 9.3% of professional developers in the same survey and WordPress by 12.4%, both far below the JetBrains figures because the two surveys sample different populations. Composer appeared at 11.4%.

    Deployment context matters for reading any of this. PHP workloads land overwhelmingly on Linux hosts, and the server operating system share plus Linux distribution popularity data show which platforms carry them.

    What The 2026 PHP Statistics Show

    PHP’s detected share of the web sits at 70.2%, and 3% of surveyed teams plan to retire their PHP applications.

    Migration completion fell from 76% to 68% year over year, while 42% of migrating teams named testing as the biggest time sink and 32% of surveyed developers write no tests at all.

    For platform context around these figures, see the wider Linux adoption figures and current distro adoption trends.

    FAQs

    What percentage of websites use PHP in 2026?

    PHP is detected on 70.2% of websites with a known server-side programming language, per W3Techs on 3 September 2026. That share covers sites where a server-side language can be identified, not the whole web.

    Is PHP 7 still supported?

    No. PHP 7.4, the last PHP 7 branch, reached end of life on 28 November 2022 per php.net. W3Techs still records PHP 7 on 28.7% of PHP websites as of 3 September 2026.

    Why do Reddit threads quote different PHP market share numbers?

    They mix measurements. W3Techs reports 70.2% of websites with a detectable server-side language. Stack Overflow’s 2025 survey reports 18.9% of respondents. Different populations, different questions, both correct.

    How many PHP teams completed a migration in the past year?

    68% of respondents to Zend’s 2026 PHP Landscape Report completed a migration in the past 12 months, down from 76% in 2025. A further 67% have one planned within the next 12 months.

    Is Laravel really the most used PHP framework, as Reddit suggests?

    Survey data agrees. JetBrains put Laravel at 64% of 1,720 PHP developers in 2025, ahead of WordPress at 25% and Symfony at 23%. Stack Overflow’s wider sample shows lower shares.

    Sources

    https://w3techs.com/technologies/details/pl-php
    https://www.php.net/supported-versions.php
    https://www.zend.com/blog/php-migration-trends
    https://patchstack.com/whitepaper/state-of-wordpress-security-in-2026/

    Audrey

      Audrey specializes in writing about Linux distributions, open-source applications, developer tools, and emerging trends in the FOSS community. With a strong focus on accessibility and real-world usability, she delivers in-depth guides, thoughtful opinion pieces, and hands-on reviews for readers passionate about open-source software and digital freedom.

      Related Posts

      192 l.168.1.1 Admin Login

      May 29, 202612,697 Views

      Most Popular Linux Distros 2026: Market Share, User Base and Adoption Trends

      May 21, 20269,627 Views

      Top 7 Open Source CCTV/IP/Camera Monitoring Software

      August 8, 20245,528 Views

      Enable Zram on Linux For Better System Performance

      February 24, 20234,382 Views

      Make Your Linux Look Like Windows XP, 7 and 10

      March 26, 20203,938 Views
      The Open Source Post
      Facebook X (Twitter) YouTube
      • About
      • Privacy Policy
      • Take a Quiz
      • Write For Us
      • Services
      • Contact Us

      Type above and press Enter to search. Press Esc to cancel.