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? ;)
Is PHP Really That Popular?
- From
- Lawrence D’Oliveiro <l…@nz.invalid>
- Organization
- A noiseless patient Spider
- Message-ID
- <11be…@dont-email.me>
- Date
- Newsgroups
- comp.misc