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 (4)

  1. I have about 50 old clients with Wordpress websites on a server. Some of them I created more than a decade ago. Wordpress may do auto updates, but compatibility with plugins and old themes is not there.

    I am always trying to patch small things to make a site work with a newer PHP version; if it needs more time or even a big refactor/replace of plugins/theme, then I contact the clients and offer them an upgrade path with a price to pay unless they are paying for continues support.

    There can be a lot of incidents on a live web server with dozens of websites; quite a few times such incidents come from old WordPress plugins with naive implementations; I always have a proper setup, isolating each website, every client with no cross-access and execution rights and I even block some dangerous PHP functions using `disable_functions` config directive.

    PHP is one part of a big chain of actions and configurations that must be done right; but there are more things to do in order to keep a server less exposed to bad actors.

    Replies (1)
    1. I agree about most of what you're saying, but why weren't those sites being actively maintained to begin with? WordPress is not maintenance-free, and things like upgrades will require an active effort some times. One of the greatest dangers in the WordPress ecosystem is the habit of selling sites as a one-off that can just be installed and run forever without interaction.
      Replies (2)
      1. If it's a small business website there is zero budget for that.
      2. I agree with you; I just choose to take the jobs for a one-off site price and most people do not like to commit to continues support with recurring fees, they just pay for hosting each year. I don't get such jobs anymore; I did it in the past as an income model, but I can't do work on an old site without chargning, if client's are not willing to pay, then I ask them to take the website to another hosting and I give them a period to do it.