• Is PHP Really That Popular?

    From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.misc on Fri Oct 23 06:20:41 2026
    From Newsgroup: comp.misc

    YourCOve heard the oft-repeated statistic that PHP powers some 70% of
    the worldrCOs 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 itrCOs being used for the
    current page or not? mod_php. What doesnrCOt? Everything else!

    (Addendum: I am told w3techs is even less reliable than appears at
    first glance. They omit the nearly 20% of sites they canrCOt guess
    at all.)

    Basically, PHP is the one that tends to advertise itself to the world,
    whereas the rest donrCOt bother. PHP also betrays itself because its
    antiquated file-per-page structure means all the URLs end with rCL.phprCY
    (yes, there are ways to hide this, but do you think your typical PHP
    programmer could figure that out?).

    In short, itrCOs a wonder that there are 30% of websites that want to
    advertise what they use, that do bother to point out that theyrCOre
    *not* running PHP.

    Yes, the article writer is a Python fan. And so am I. WhatrCOs wrong
    with that? ;)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From noel@deletethis@invalid.lan to comp.misc on Fri Oct 23 18:43:48 2026
    From Newsgroup: comp.misc

    On Fri, 23 Oct 2026 06:20:41 +0000, Lawrence DrCOOliveiro wrote:

    Basically, PHP is the one that tends to advertise itself to the world, whereas the rest donrCOt bother. PHP also betrays itself because its antiquated file-per-page structure means all the URLs end with rCL.phprCY (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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From noel@deletethis@invalid.lan to comp.misc on Fri Oct 23 18:44:50 2026
    From Newsgroup: comp.misc

    On Fri, 23 Oct 2026 18:43:48 +1000, noel wrote:

    On Fri, 23 Oct 2026 06:20:41 +0000, Lawrence DrCOOliveiro wrote:

    Basically, PHP is the one that tends to advertise itself to the world,
    whereas the rest donrCOt bother. PHP also betrays itself because its
    antiquated file-per-page structure means all the URLs end with rCL.phprCY
    (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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Eli the Bearded@*@eli.users.panix.com to comp.misc on Sat Oct 24 00:45:10 2026
    From Newsgroup: comp.misc

    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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.misc on Sat Oct 24 03:55:32 2026
    From Newsgroup: comp.misc

    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 rCL.phprCY 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 -2my-domain-name-+ ESMTP Sendmail 8.8.8/8.8.8

    That probably causes some security experts to twitch. ;)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From kludge@kludge@panix.com (Scott Dorsey) to comp.misc on Sat Oct 24 15:42:35 2026
    From Newsgroup: comp.misc

    Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> wrote:
    Connect to my email server, and the greeting says

    220 -2my-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."
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Bob Eager@throwaway0008@eager.cx to comp.misc on Sat Oct 24 20:34:09 2026
    From Newsgroup: comp.misc

    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 -2my-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).
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From mechanicjay@mechanicjay@sol.smbfc.net (Mechanicjay) to comp.misc on Sun Oct 25 06:14:51 2026
    From Newsgroup: comp.misc

    On Fri, 23 Oct 2026 06:20:41 -0000 (UTC), <ldo@nz.invalid> wrote:
    YourCOve heard the oft-repeated statistic that PHP powers some 70% of
    the worldrCOs 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 itrCOs being used for the
    current page or not? mod_php. What doesnrCOt? Everything else!

    (Addendum: I am told w3techs is even less reliable than appears at
    first glance. They omit the nearly 20% of sites they canrCOt guess
    at all.)

    Basically, PHP is the one that tends to advertise itself to the world, >whereas the rest donrCOt bother. PHP also betrays itself because its >antiquated file-per-page structure means all the URLs end with rCL.phprCY >(yes, there are ways to hide this, but do you think your typical PHP >programmer could figure that out?).

    In short, itrCOs a wonder that there are 30% of websites that want to >advertise what they use, that do bother to point out that theyrCOre
    *not* running PHP.

    Yes, the article writer is a Python fan. And so am I. WhatrCOs 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
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From kludge@kludge@panix.com (Scott Dorsey) to comp.misc on Sun Oct 25 08:18:43 2026
    From Newsgroup: comp.misc

    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 -2my-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."
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Andy Burns@usenet@andyburns.uk to comp.misc on Tue Oct 27 08:48:46 2026
    From Newsgroup: comp.misc

    Lawrence DrCOOliveiro wrote:

    PHP also betrays itself because its
    antiquated file-per-page structure means all the URLs end with rCL.phprCY (yes, there are ways to hide this, but do you think your typical PHP programmer could figure that out?).

    The majority of sites using PHP have no programmer, they're just hosted
    using wordpress, someone picks a theme and then types in some content,
    job done.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Oregonian Haruspex@no_email@invalid.invalid to comp.misc on Fri Oct 30 16:18:51 2026
    From Newsgroup: comp.misc

    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.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.misc on Fri Oct 30 23:03:12 2026
    From Newsgroup: comp.misc

    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 rCLpingrCY command for testing basic connectivity (using
    ICMP ECHO packets).

    On a command-line device (e.g. a Linux box), rCLpingrCY 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 doesnrCOt allow
    this sort of flexibility.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.misc on Sat Oct 31 10:49:53 2026
    From Newsgroup: comp.misc

    Lawrence DrCOOliveiro <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 rCLnorCY 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 doesnrCOt 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 canrCOt speak for PHP but
    the clunky output you describe is not a necessary consequence of the
    HTTP design.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.22a-Linux NewsLink 1.2