Login
You're viewing the discuss.systems public feed.
  • Oct 21, 2026, 7:35 AM

    I've seen some disgusting rhetoric from some holier than thou IT people this morning on the #php security issue. None of who actually know what the problem is!

    Comments like "swap to an alternative" are NOT helpful. Because moving everything to a different platform is so easy for everyone!

    PHP is a good and accessible language that still runs a large chunk of the internet. Still pays my bills.

    I can't remember the last major PHP security issue. Must have been at least 10 years now.

    💬 1🔄 6⭐ 15

Replies

  • Oct 21, 2026, 8:31 AM

    @philipnorton42 > Because moving everything to a different platform is so easy for everyone!

    It doesn't have to be "easy for everyone" to be a good advice.

    It can be a decision for a longer roadmap, like how Nextcloud is slowly porting critical parts to rust or how wikimedia has more and more services in go or python.

    Or it can be a decision that is easy for many, even if not for everyone. Do you really need Wordpress, or is a hugo or ghost setup an option for you?

    Or, it can be a decision that's made on attributes that weigh pros and cons, this incident being yet another "con" for PHP, getting closer to a tipping point for you or your organization.

    And "major" is a semantic argument, but github.com/php/php-src/securit was less than a month ago, was "medium". There's been almost one such CVE every month. (And yes, the main python runtime is similar in that sense, as is the cRuby runtime) So to say there are no incidents is stretching it.

    Aside from how it's easy to write insecure applications in PHP, by using the "wrong" system apis or using them wrong. Like how rand() and mt_rand() have been insecure like forever.

    > In 2019, 11% of all vulnerabilities listed by the National Vulnerability Database were linked to PHP - en.wikipedia.org/wiki/PHP#Secu
    Which isn't to say that the PHP runtime is insecure, but that the ecosystem has a tendency to build insecure applications. Far more than e.g. rust, go, or even pythons', where it's harder to introduce vulnarabilities or easier to write secure applications. Where the language, runtime and above all, the community/ecosystem has a habit of care for security. Rust and Go have security in their DNA even.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0