Unofficial Hacker News companion — get notified on comment replies, and more.

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)

284 points by xadz 3 days ago | adamgreenough.net | 132 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. That's so typical old PHP developer mind of "let's have half of the app written in mod_rewrite and web server config files".
    Replies (3)
    1. Typical PHP developer has no information which load balancer to trust. It is not his job.
    2. It's not. mod_remoteip != mod_rewrite, stop shifting the topic. Besides that, if you have Apache (or nginx, doesn't really matter) you want mod_remoteip otherwise logs are not showing the correct IP.
      Replies (1)
      1. Ops here, this is difference between PHP and most other languages. All other major languages I can think of are selfhosting and extremely likely to have Ingress Proxy between them and global internet. Thus, their web server is extremely simple and they would handled X-Forwarded-For in their code.

        PHP for various reasons still ships will full blown webserver and PHP developers sometimes do screw around with their local Apache. To larger team doing DevOps, this is a path to absolute madness.

    3. And that is so typical new PHP developer to try to jam infra tasks into the web application level and then wonder why their buggy site slows to a crawl.