On Fri, 23 Oct 2026 06:20:41 -0000 (UTC), <l…@nz.invalid> wrote:
>You’ve heard the oft-repeated statistic that PHP powers some 70% of
>the world’s websites. But does it really?
>
>Reading this (very old) article
><https://eev.ee/blog/2012/07/28/quick-doesnt-mean-dirty/>, I came
>across this:
>
> Other choice TechCrunch quotes:
>
> And yet PHP is allegedly used by more than three-quarters of
> all web sites.
>
> Alleged, indeed. This links to w3techs, which seems to indicate
> that it uses URLs and HTTP headers to detect what language a site
> is written in. What popular language plugin for Apache reports
> itself in the Server header, whether it’s being used for the
> current page or not? mod_php. What doesn’t? Everything else!
>
> (Addendum: I am told w3techs is even less reliable than appears at
> first glance. They omit the nearly 20% of sites they can’t guess
> at all.)
>
>Basically, PHP is the one that tends to advertise itself to the world,
>whereas the rest don’t bother. PHP also betrays itself because its
>antiquated file-per-page structure means all the URLs end with “.phpâ€
>(yes, there are ways to hide this, but do you think your typical PHP
>programmer could figure that out?).
>
>In short, it’s a wonder that there are 30% of websites that want to
>advertise what they use, that do bother to point out that they’re
>*not* running PHP.
>
>Yes, the article writer is a Python fan. And so am I. What’s wrong
>with that? ;)
I assume it's less than it used to be. That said, I have a crap-ton of PHP in
my professional environment and will continue to for a very long time to come.
Some of that is due to wordpress.
Some of that is due to a very mature PHP middleware library which some legacy
apps sit on top of in additiona to our RESTFUL API. Of course,
almost all the front-ends are written in Angular these days, but it's sitting
ontop of a massive php stack.
--
Sent from my Personal DECstation 5000/25