"Is PHP dead?" has been asked every year for at least fifteen years. In 2026 the honest answer is no, by any measure that matters to a business running PHP in production. But the question hides a better one: is your PHP healthy? Plenty of PHP applications are effectively dead, frozen on unsupported versions, while the language itself keeps moving.
This article looks at the evidence on both sides, and at what it means for a team deciding whether to invest in PHP, upgrade it, or move off it.
The short answer
- PHP is the most used server-side language on the web by a wide margin. W3Techs' survey of December 1, 2026 finds PHP on 67.8% of websites whose server-side language it can identify. JavaScript, in second place, is at 9.2%.
- The language is actively developed. A new minor version ships every November. PHP 8.6 arrived on November 19, 2026, with partial function application and new standard types.
- It has institutional backing. The PHP Foundation, formed in 2021 and funded by companies that depend on PHP, pays core developers to work on the language full time.
- Its share is slowly falling, mostly to JavaScript on the server, and new startups choose it less often than they did a decade ago.
PHP is not dying. It is mature, which is a different thing.
The case that PHP is thriving
It runs most of the web
The W3Techs number is dominated by WordPress, which runs on PHP and powers a large share of all websites. But it is not only WordPress: Drupal, Magento, Laravel and Symfony applications, Wikipedia's MediaWiki, and a long tail of custom software built over twenty-five years all run on PHP. That installed base will be maintained for decades whatever happens to fashion.
The language is better than its reputation
Much of PHP's reputation was earned by PHP 4 and 5. Modern PHP is a different language:
- A real type system: scalar and return types, union and intersection
types,
readonlyproperties and classes, enums, typed class constants. - Performance: PHP 7 roughly doubled throughput over PHP 5.6 on typical applications, and PHP 8 added a JIT compiler. For web workloads, PHP is rarely the bottleneck; the database usually is.
- Modern syntax: match expressions, named arguments, first-class callable syntax, property hooks (8.4), the pipe operator (8.5) and partial function application (8.6).
- A predictable support policy: two years of bug fixes and two years of security fixes for every version, published in advance.
The ecosystem is strong
Composer is a mature dependency manager. Laravel and Symfony are well-maintained, well-documented frameworks with predictable release schedules. Static analysis with PHPStan and Psalm, automated refactoring with Rector, and testing with PHPUnit and Pest give PHP teams tooling that compares well with any language.
PHP developers are easy to hire
A large installed base means a large pool of developers who know the language, in every region and at every level of seniority. For a business, that is a cost and risk advantage that newer stacks do not have.
The case that PHP is declining
Being honest about this matters, because it should inform long-term decisions.
- Market share is drifting down. PHP's share in W3Techs' survey has been falling slowly for years. In mid-2026, W3Techs noted that JavaScript had overtaken Ruby as the second most used server-side language. The direction is clear even if the gap is still large.
- New products start elsewhere. Startups building app-like products increasingly choose TypeScript across the stack, often with Next.js, or Python where data and machine learning are central.
- Front-end expectations moved. Rich, interactive interfaces are built in React and similar frameworks. PHP can serve the API behind them, but it no longer owns the whole page in those products.
- Old PHP is very old. A large share of PHP in production runs on versions past end of life. That is where the "PHP is insecure" reputation comes from today: not the language, but unmaintained deployments of it.
So is PHP still relevant for your application?
The useful question is not about the language. It is about your application. Four situations come up again and again:
| Your situation | What we would do |
|---|---|
| A healthy PHP application on a supported version, with a team that knows it | Keep investing. Upgrade every year, and adopt new language features as you go |
| A valuable PHP application on an unsupported version (7.4, 8.0, 8.1, soon 8.2) | Upgrade it, version by version. Cover it with long-term support while you do |
| A PHP application whose front end holds the business back | Keep the PHP back end, and move the front end to Next.js route by route. See the PHP to Next.js guide |
| A PHP application nobody can change any more, with a team that has moved to TypeScript | Plan a full migration, still incrementally, and keep the old system patched until it is off |
Most applications are in the first two rows. For them, the fact that a startup down the road chose TypeScript changes nothing. What matters is whether the application runs on a supported version and whether the team can change it safely.
We wrote a longer decision framework in Upgrade PHP or migrate to Next.js?.
What we see in practice
We run PHP upgrades across thousands of WordPress sites through Seahawk's care work, and for custom applications through SeaPHP. The pattern is consistent. Applications on current PHP versions are rarely the problem. Applications that skipped several versions are, because the upgrade grows with every year it is postponed, until it looks like a rewrite. Teams then ask whether PHP is dead, when the real issue is that their PHP was left behind.
The cheapest way to keep PHP relevant is to keep it current. One minor version a year is a small, routine project. Five at once is not.
The verdict
PHP is not dead in 2026. It runs most of the web, improves every year, and is a sound choice for maintaining and extending the systems built on it. It is no longer the default choice for every new web product, and its share will probably keep drifting down slowly. Neither of those facts is a reason to rewrite a working application. An unsupported PHP version is a reason to act, and the action is usually an upgrade.