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)

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

View full thread · View on Hacker News

Comment thread (3)

  1. I don't know how NPM deals with these things, but Composer (PHP's NPM equivalent) will loudly proclaim versions are vulnerable even if there are no upgrade paths.

    Other people's old runtimes aren't your problem as an OSS maintainer, of course. However, WordPress supports PHP 7.4 for all recent versions. Other projects and plugins might not be so generous, but whether or not this is a problem will depend on a case-by-case basis.

    Debian doesn't vendor all NPM packages, but they do vendor hundreds of them: https://pkgs.org/search/?q=node-

    Replies (1)
    1. Why? Are they doing that by hand? There’s over 4 million packages in npm. “Hundreds” gives you about 0.01% of npm. For any given package, that means you have a 1/10 000 chance of finding it in apt. I hardly see the point.
      Replies (1)
      1. Because someone decided to add one or more projects based on the digital quicksand that is NPM to the official repositories, and Debian wanted to include it in their repositories. They need to maintain all dependencies for the support period of that specific release.