Thread View: comp.misc
12 messages
12 total messages
Started by Lawrence D’Oliveiro
Fri, 23 Oct 2026 06:20
Is PHP Really That Popular?
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 06:20
Date: Fri, 23 Oct 2026 06:20
34 lines
2567 bytes
2567 bytes
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? ;)
Re: Is PHP Really That Popular?
Author: noel
Date: Fri, 23 Oct 2026 08:43
Date: Fri, 23 Oct 2026 08:43
13 lines
1213 bytes
1213 bytes
On Fri, 23 Oct 2026 06:20:41 +0000, Lawrence D’Oliveiro wrote: > 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?). Don't need to be a programmer/coder/whatever AddType application/x-httpd-php .html done
Re: Is PHP Really That Popular?
Author: noel
Date: Fri, 23 Oct 2026 08:44
Date: Fri, 23 Oct 2026 08:44
17 lines
1381 bytes
1381 bytes
On Fri, 23 Oct 2026 18:43:48 +1000, noel wrote: > On Fri, 23 Oct 2026 06:20:41 +0000, Lawrence D’Oliveiro wrote: > >> 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?). > > Don't need to be a programmer/coder/whatever > > AddType application/x-httpd-php .html > > done ooops, should have said, that's in httpd.conf
Re: Is PHP Really That Popular?
Author: Eli the Bearded
Date: Sat, 24 Oct 2026 00:45
Date: Sat, 24 Oct 2026 00:45
26 lines
1897 bytes
1897 bytes
In comp.misc, Lawrence DOliveiro <ldo@nz.invalid> wrote: > You've heard the oft-repeated statistic that PHP powers some 70% of > the world's websites. But does it really? I've heard Wordpress powers > 20% of websites and 100% of Wordpress is PHP. There are other web frameworks using PHP, too. view-source:https://www.whitehouse.gov/ Using Wordpress, look for the /wp-content/ links. Wikipedia, and wikis using that software (there are a lot run by the Wikimedia org, and many independent ones) are using PHP. A bunch of forum software uses PHP. My personal website doesn't use PHP, but the server lies and sends out a an X-Powered-By: PHP header to fuck with script kiddies. I got paid a lot of money for a decade to manage a PHP website that used a custom built framework. (That site is using Wordpress now, and I am not involved.) Elijah ------ loves fucking with script kiddies
Re: Is PHP Really That Popular?
Author: Lawrence D’Oliveiro
Date: Sat, 24 Oct 2026 03:55
Date: Sat, 24 Oct 2026 03:55
17 lines
1772 bytes
1772 bytes
On Sat, 24 Oct 2026 00:45:10 -0000 (UTC), Eli the Bearded wrote:
> Using Wordpress, look for the /wp-content/ links.
Interesting how often this is still a giveaway, even though links on
the site might not have “.php” in them.
> My personal website doesn't use PHP, but the server lies and sends out a
> an X-Powered-By: PHP header to fuck with script kiddies.
That kind of thing is fun. ;)
Connect to my email server, and the greeting says
220 «my-domain-name» ESMTP Sendmail 8.8.8/8.8.8
That probably causes some security experts to twitch. ;)
Re: Is PHP Really That Popular?
Author: Scott Dorsey
Date: Sat, 24 Oct 2026 19:42
Date: Sat, 24 Oct 2026 19:42
13 lines
1190 bytes
1190 bytes
Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote: >Connect to my email server, and the greeting says > > 220 «my-domain-name» ESMTP Sendmail 8.8.8/8.8.8 > >That probably causes some security experts to twitch. ;) For many years I ran a sendmail server which identified itself as Laxative 9.0+tahoe. I don't know if it confused hackers, but it certainly confused and annoyed our security guys. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: Is PHP Really That Popular?
Author: Bob Eager
Date: Sat, 24 Oct 2026 20:34
Date: Sat, 24 Oct 2026 20:34
16 lines
1662 bytes
1662 bytes
On Sat, 24 Oct 2026 15:42:35 -0400, Scott Dorsey wrote: > Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote: >>Connect to my email server, and the greeting says >> >> 220 «my-domain-name» ESMTP Sendmail 8.8.8/8.8.8 >> >>That probably causes some security experts to twitch. ;) > > For many years I ran a sendmail server which identified itself as > Laxative 9.0+tahoe. I don't know if it confused hackers, but it > certainly confused and annoyed our security guys. I heard so much cursing about sendmal at work that I never considered it for use at home. It's been postfix for almost as long as I remember (and before that, an excellent third party OS/2 email server).
Re: Is PHP Really That Popular?
Author: Mechanicjay
Date: Sun, 25 Oct 2026 06:14
Date: Sun, 25 Oct 2026 06:14
49 lines
3230 bytes
3230 bytes
On Fri, 23 Oct 2026 06:20:41 -0000 (UTC), <ldo@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
Re: Is PHP Really That Popular?
Author: Scott Dorsey
Date: Sun, 25 Oct 2026 12:18
Date: Sun, 25 Oct 2026 12:18
27 lines
1924 bytes
1924 bytes
Bob Eager <throwaway0008@eager.cx> wrote: >On Sat, 24 Oct 2026 15:42:35 -0400, Scott Dorsey wrote: >> Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote: >>>Connect to my email server, and the greeting says >>> >>> 220 «my-domain-name» ESMTP Sendmail 8.8.8/8.8.8 >>> >>>That probably causes some security experts to twitch. ;) >> >> For many years I ran a sendmail server which identified itself as >> Laxative 9.0+tahoe. I don't know if it confused hackers, but it >> certainly confused and annoyed our security guys. > >I heard so much cursing about sendmal at work that I never considered it >for use at home. It's been postfix for almost as long as I remember (and >before that, an excellent third party OS/2 email server). Sendmail did everything you would ever want to do including all kinds of weird gateway arrangements which today are no longer needed due to almost universal IP connectivity. Being able to do everything has good points but it also has very, very bad points. But I did get to dance with Eric Allman at Usenix once. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: Is PHP Really That Popular?
Author: Oregonian Haruspex
Date: Fri, 30 Oct 2026 16:18
Date: Fri, 30 Oct 2026 16:18
4 lines
1427 bytes
1427 bytes
Pretty much every router out there uses PHP for its web management console. Cable modems. Most anything embedded that has a web console really. This is going to be a disaster in the long run because a lot of that stuff never gets updated.
Re: Is PHP Really That Popular?
Author: Lawrence D’Oliveiro
Date: Fri, 30 Oct 2026 23:03
Date: Fri, 30 Oct 2026 23:03
38 lines
2713 bytes
2713 bytes
On Fri, 30 Oct 2026 16:18:51 -0000 (UTC), Oregonian Haruspex wrote: > Pretty much every router out there uses PHP for its web management > console. One reason why this surprises me, besides the general sadness of PHP, is that such a device could usefully take advantage of features that PHP cannot handle. For example, a basic function on anything you might want to connect to a network is a “ping” command for testing basic connectivity (using ICMP ECHO packets). On a command-line device (e.g. a Linux box), “ping” is an interactive tool that gives you a running display of the responses coming back in (or not) as the ECHO packets go out. To emulate this on a web-based interface, you need to ability to 1) start a ping sequence going out 2) keep dynamically updating the web page as responses come back (or non-responses get marked as timeouts) 3) stop the sequence at any time. This is hard to do with the basic HTTP request/response paradigm. So what you get instead is something clunky like 1) Enter number of pings desired 2) Click Start button 3) Stare at a frozen page while waiting for the ping sequence to complete and actually update the page 4) View results. But it is quite easy to make things more interactive if you can add WebSocket connections to the mix. But that requires your web-management app to be running its own event loop, and the traditional mod_php (or PHP-FPM, if you prefer) model doesn’t allow this sort of flexibility.
Re: Is PHP Really That Popular?
Author: Richard Kettlewell
Date: Sat, 31 Oct 2026 10:49
Date: Sat, 31 Oct 2026 10:49
44 lines
2951 bytes
2951 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> writes: > Oregonian Haruspex wrote: >> Pretty much every router out there uses PHP for its web management >> console. > > One reason why this surprises me, besides the general sadness of PHP, Historically its security reputation was abysmal[1], and based on recent events it seems that this remains justified. I think any organization using it would benefit from reviewing their technology selection processes, and ensuring sure their security team is adequately empowered to say “no” and have it stick. [1] https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ > To emulate this on a web-based interface, you need to ability to > > 1) start a ping sequence going out > 2) keep dynamically updating the web page as responses come back (or > non-responses get marked as timeouts) > 3) stop the sequence at any time. > > This is hard to do with the basic HTTP request/response paradigm. > So what you get instead is something clunky like > > 1) Enter number of pings desired > 2) Click Start button > 3) Stare at a frozen page while waiting for the ping sequence to complete > and actually update the page > 4) View results. > > But it is quite easy to make things more interactive if you can add > WebSocket connections to the mix. But that requires your > web-management app to be running its own event loop, and the > traditional mod_php (or PHP-FPM, if you prefer) model doesn’t allow > this sort of flexibility. No need to add websockets to the mix, browsers are quite happy to render slow-arriving responses HTTP incrementally. I can’t speak for PHP but the clunky output you describe is not a necessary consequence of the HTTP design. -- https://www.greenend.org.uk/rjk/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads