A guy who commissioned a WP website and didn't secure a retainer, is likely to pay between 20 to 100 USD to have somebody update it. Triple that for a PHP version update.
For many WP site owners, that is not worth doing and the site will become another malware host. Unless you have sone benevolent, trustworthy dev to recommend to them.
Note that just two days ago, I was scolded for suggesting that an AI agent could even perform local desktop configuration, much less a server:
The model of contracting a dev to set up a website and then leaving it alone is long dead. If you can’t maintain your site you need to use a hosted platform that manages this all for you. Otherwise it will be hacked.
There’s still a web server and operating system that may need to be patched even if you’re serving nothing but static html, unless you’re using a hosted platform as the parent says.
They listed a "platform that manages this all" as an alternative to a web dev. You're calling pure html hosting a "platform" but that sounds like a very different meaning of "platform" to me.
> The model of contracting a dev to set up a website and then leaving it alone is long dead.
Dead as it may be, many small businesses still do it anew, and many old websites are still hosted over a decade since the OS has last received a security update.
In my experience clicking the website link on google maps, most small businesses websites are either on a managed platform like shopify, the link is totally dead, or it shows some malware page.
If there is a server on the internet that hasn't been updated in a decades, it's currently running a bitcoin miner and serving malware.
For sure, those patched versions can help buy some time, thogh even a perfectly patched 7.4 doesn't help with plugins.
WooCommerce 11.6 needs PHP 8.1 from February, and Contact Form 7 already needs 8.3. WordPress won't update a plugin if the PHP is too old, so those sites just stay on the old plugin version. More plugins will do the same, and then the plugin is the part that stops getting security fixes.
The lagging PHP support that hosts enable is becoming increasingly risky (and annoying for developers who want to make the most of new features!). Most WordPress exploits come through plugins, not PHP.
Are these sites even keeping up with patches, though? Being on a supported version can help deploy a fix when forced into a corner, but if you don't have an established, regularly exercised update process, you're still in for a world of pain, as I'm sure plenty of PHP admins have found out recently.
A lot of “vanilla” WordPress websites will not have many (if any) problems updating. The core software supports auto updates with either 1 click or even that can be allowed to be triggered automatically.
What is more likely to cause problems of course is plugins or themes. We all know software is somewhat of a “hack on it until it works” but how much hacking is what separates “custom” software from off the shelf.
Also, many shared hosting providers charge an extra fee if your site is on an old PHP Version so by upgrading you might even save a few bucks a month.
A lot of people on old servers with old PHP are only ever going to risk the smallest upgrade they can, to avoid deprecation issues.
There's a deprecation in PHP 8.0 to do with the order of parameters with default values that will bite a lot of code.
In PHP 8.2, they deprecated creation of dynamic properties on classes without #[AllowDynamicProperties] pragmas or __get/__set accessors. That one also messes with a fair bit of code, though it's an easy enough thing for an LLM to just add that attribute to every class.
There's also the "left behind" tax: the older your server becomes through sheer complexity of upgrading, the more likely you are to have to compile PHP from source, which is not the nicest when you are likely to have to replace a distribution version that had a bunch of packages installed.
I was in this position for one machine for PHPShell; I had to build the patched 7.4. I happen to know that the deprecations in 8.2 will bite me, but the old project is going to get a more considerable overhaul sooner than that, so that it is in more LLM-friendly patterns.
Random side note: if you are revitalising an old PHP app and intend to migrate it away from PHP to another language, one sane intermediate step you might consider is reworking it to use the Slim framework ( https://www.slimframework.com ) which uses a compact form of route closure definition that is so similar to e.g. Express, Gin, the core Golang http.Handle APIs etc. that it will be a much easier task to scrutinise when you get there. LLMs seem positively giddy about the prospect. Type hints would help, too.
> lot of old PHP are only ever going to risk the smallest upgrade they can, to avoid deprecation issues in extremely old codebases.
This is becoming a rapidly dangerous mindset. The cost and risk of forking and fixing an abandoned piece of code is trending to zero and the risk of being pwned when leaving an EOL library publically exposed to the internet is trending to 100%.
Even the cost and risk of completely removing an unmaintained library is also trending to zero.
LLMs have a lot more patience for enumerating test-cases, automating tests and creating staging environments and magnitudes more than sysadmins have ever had.
The case for "don't touch it don't break it" is getting increasingly indefensible.
Not saying this is necessarily the case here, but you vastly underestimate just how enormously untested and fragile these legacy systems can be. Even an LLM can need a very skilled operator to succeed in such an environment.
These kinds of systems often not only rely on every possible bug, they can rely on every possible side channel as well. And they often don't have any sort of testing or staging environment where screwups are recoverable.
The problem is more the stuff that isn't fragile, has run well for a decade, and not been updated, perhaps because other things hold that back.
I have one of these apps. Good code, modular structure (but very bespoke, and much of it quite an old design pattern), has a dev environment (but that environment is also old), makes use of a few now quite old dependencies. Works really well, and as a freelancer I simply don't get the billable time to fix what "ain't broke", so it gets improvements as it gets new feature requests.
The problem is that it ain't broke, in fact. Nevertheless I fully know the IIABDFI days are gone.
I am recovering from severe burnout and untangling its dependencies, restructuring it into more modern architecture that will be more amenable to LLM management, but as with any serious legacy code there's a lot to deal with from several directions at once.
Even figuring out how to describe its architecture concisely to an LLM is a multi-phase project! It will be easier to semi-manually modernise some things so that there is less explaining to do.
As it happens, getting it to literally just run on more recent PHP will be a much easier problem.
> Even figuring out how to describe its architecture concisely to an LLM is a multi-phase project! It will be easier to semi-manually modernise some things so that there is less explaining to do.
You don't need to do this anymore. Ask the LLM* to describe its architecture to you.
*edit - a good, frontier LLM - like Astra/Sol/Opus
No, you really do. There are often many things about old established codebases that are simply unavailable to the LLM from inspecting the code. Things about the intent of design choices, transient interactions with other systems, the human processes have evolved around the behaviour, things about unused code pathways.
It’s true even in this project of mine.
I am finding more ways to use LLMs to resolve these issues but I need to be maintaining this project for the longer term and I understand its purpose; I will not bet its future on an LLM’s understanding of its architecture when I am capable of eliminating them.
I don't underestimate it, but if you still have this problem - it is more of a people/process problem than a technical one.
No staging or testing environment? Get the LLM to create one... Can't create one because of external dependencies/APIs? Get the LLM to reverse engineer you a very convincing mock of that dependency/API - each time there is an observed difference between the real and staging environment, just throw the LLM at fixing it.
The main barriers to achieving any of this is not technical. I'm sure there's places out there where none of the above is possible because those responsible for the systems don't have access to them.
The skilled operator used to be the one dude who knew how the system worked - who didn't have the time to do anything but fight fires. Now days, the skill is understanding how to get the LLM cranking in a good loop and letting it cook. You don't need 20 years of working on a system to know how it works anymore. The most important architectural decision you need to have is to have version-controlled code, infra and monitoring so that the LLM can reason about the system. I suspect many of these legacy systems do not even have source control, but the good thing is that once again, a like-for-like migration such as capturing all the details of a current system and representing it as code is another good example of a self-verifying task that LLMs are also great at.
I don't disagree with any of this. But it is the case.
And you have to remember that a lot of this code is just not in reproducible environments. So there's a fair chunk of setup effort involved in even getting an LLM to be able to safely work on it.
Like I say, the "left behind" tax is a serious problem with this stuff.
Most PHP/Python/Nodejs framework sites are auto-generated throw-away projects, that might run for 2 to 3 years at most.
Most people expect community-code PHP sites to fall apart eventually, as the people that deployed the host are usually already at another company years later.
Usually the fix is to spider a site into static html content, and nuke the dynamic rotting framework part from orbit. =3
> Most PHP/Python/Nodejs framework sites are auto-generated throw-away projects, that might run for 2 to 3 years at most.
Nothing that has survived into this problem space is throw-away, or it would have been thrown away.
There's a lot of solid, boring, just-works PHP that nobody has touched because it works, that now won't run on enforced newer environments because of deprecations. And as the pace of PHP improvement sped up around 8.x, so did the pressure to leave that working code on older PHP versions.
Yeah — it's very clear to me that PHP itself is now an unacceptable developer burden in terms of maintenance and security for internet-facing applications.
But then I believe this of all interpreted languages now.
Except for OTP compatible languages like Elixir/Erlang, as they remain functional even when partially broken or fair-scheduling in deadlock.
The idea of building flawless code in complex patterns is naive, as at scale the improbable becomes a certitude. The Erlang interpreters have live internal state debugging as part of the API, and is compatible with constraint programming paradigms (list comprehension feature is somewhat functionally similar.)
Some other projects that I've found surprisingly reliable over the years. =3
> Except for OTP compatible languages like Elixir/Erlang, as they remain functional even when partially broken or fair-scheduling in deadlock.
Yes, though it's not the brokenness that concerns me about interpreted languages, but the interpreter attack surface (and the fact that without care, a supply chain attack can put code on your server that you never run and would only be useful to an attacker). Also that your job each time there's a security issue is to update all these packages and the interpreter, not just your app.
For example, the PHP2shell stuff was absolutely nothing to do with anyone's code; that is what made it so exhausting. No amount of good practice in a code context can save you when the interpreter's interface to the webserver is the target of the attacks.
It's not the only reason I am giving up on clever interpreted languages; smaller open weights LLM performance is another. But it is one.
My modestly-sized deskbound clanker sidekick and I are having fun writing a Swift app at the moment, and it seems highly capable of it. But it likes Golang a lot more. It's more metallic and beepy-boopy, I think. Elixir does seem to be a potential candidate too. Been a while since I looked, but I liked it as a human.
Not going to get deeply into a discussion of the architecture of a client’s product on the internet, as I am sure you understand.
But it’s obvious that modern web frameworks now increasingly have a code pattern with simpler flow of control, fewer inversions. Compare the architecture of an Express or Gin app with the architecture of a database-CMS-backed app like Wordpress. Routes in closures, fewer class inheritances, flow of control is not altered by configurations held in databases, etc. The common pattern in web app frameworks tends not to be particularly MVC, either.
(This customer’s app is not WP but it does come from the CMS era; it’s not Laravel either)
FWIW, configuring PHP for compiling from source probably is something the LLM can plan out from phpinfo(). I didn’t think of this last time, but then the installation I was replacing had some capabilities I know (but the code would not show) were unused/different.
Having gone through it once I have the configure parameters saved, but I suspect even a modest LLM can reproduce them from the configuration. Nevertheless it’s not difficult, it’s just annoying.
What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie and is starting to really crumble down.
Two Wordpress websites I built for neighbors in 2014 have always self-updated to the last version and nothing ever broke. I just bump the PHP version on their shared hosting panel. Of course strictly no third-party plugins nor themes, only slim themes I wrote at the time. The one thing Wordpress has for it is backwards compatibility, but it’s also what is slowly killing it.
Recently I also helped a few small nonprofits I know IRL to either migrate their WP site to a statically generated site, pointing an agent at it created a perfect replica in about an hour, or just migrate everything to the last version to be able to upgrade their old PHP. Again, pointing Claude at it with a general « setup a mirror on PHP 8.5, report any breakage, upgrade anything needed and work through scripts to avoid needing excess reads » upgraded and fixed their spaghetti and tower of plugins in about 2 hours. Not going into too much technical details since everyone here knows what needs to be done but of course I made it setup a dev environment (that no one will ever use) and tests along the way.
So it is possible. But the first step is explaining to the owners that the « buy once and let live » model was never possible to begin with and that Wordpress culture has (implicitly, nobody writes that anywhere) sold them a mirage.
Edit : to be fair to Wordpress and don’t give them an intent, it’s more of a « small business owner » culture problem than a Wordpress culture problem, but Wordpress embraced it by never breaking anything. In the small business owner culture, paying for new features was already questionable so paying for invisible maintenance is very far-fetched.
I’m so glad to not have anything to do with the web agency space professionally anymore.
> What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie.
Not the only reason. When I was maintaining the website of a company I worked for, I avoided updating WordPress or any of the installed plugins as much as possible.
It's been years since, but WordPress in particular was very, very finicky and the smallest of changes can bring an entire installation down with no easy way to fix it.
I hated everything about WordPress, from the framework itself to the plugins, to the culture in the community.
I've since moved to django, and it's like going from a failed state to living in a Nordic nation.
I do, they’re still not directly comparable and my question stands. “I developed the entire site using Django templates” is a fair answer, I do know how Django originated (been using it since the 1.x days) but still doesn’t make Django’s admin for example directly comparable to Wordpress admin or author interface.
Yes but typically Wordpress is used as a CMS. Particularly, a dynamic CMS, so that marketing people can push content updates without a redeploy or build.
Other CMSes are much nicer, I like Astro. But they require build steps. For very good reasons, but, of course that doesn’t fly when non-dev people need to dynamically update the site.
Regarding the 'tower of plugins', there be dragons!
Imagine a simple home page carousel. You need something that has mostly CSS and about three lines of script, however, you have some 'mega carousel' plugin that uses dozens of scripts and thousands of lines of CSS. You need just one carousel but you have this plugin that does 150 types of carousel, with IE6 shims, for the lols.
The plugin will have the lamest code, with no guard clauses, just a mountain of 'if then else' spaghetti.
Add in a dozen other plugins of this calibre and multiply this by millions of blogs, and you have an unknown number of vulnerable websites. Sadly the plugins won, first time round, rather than bespoke development by skilled developers.
Well, agents are quite good to replace those monstrosity carousels by something that will provide the tiny slice of features actually used, fetching every carousel from the 10 years of posts in DB and asserting that rendering through the new tiny plugin produces the exact same output. But it's a matter of will. Every site one by one can be upgraded and salvaged this way if someone agrees to pay at some point. One could say that the tower of plugins were a "great" way for non-technical folks to go to a desired result that can then be rebuilt in a lean way while preserving look & feel..
I like statically generated sites but they offer just enough resistance to stop me from writing. For example, mobile support is rare.
My solution is a web based editor that lets me edit my blog in 30-seconds.
The site is statically generated by GitHub pages but the mechanics of that are all hidden. I publish a file and my blog updates a couple minutes later.
> What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie and is starting to really crumble down.
I agree, and I think even for technical folks, the value-to-burden ratio for Wordpress has gone into the negative. On top of the technical issues, it is now a broken fractured community with an unstable person in a position of leverage.
This type of website is available today for small orgs, though, via hosted web platforms like Squarespace, Shopify, etc. Even as someone who competently ran self-hosted Wordpress sites for years, it’s just so much easier to pay a few hundred dollars a year and focus on design, content, marketing, etc: the stuff that actually matters for small orgs.
This is a classic 80-20 rule. Of those 50% of websites, I'd wager 80% are likely stale, unused, out-of-date, and irrelevant. And solely still around because some line item somewhere has said "Hosting ....... $24.99" every month for the past 15 years.
I'm not saying it's not a problem, but probably not as big as article might make it seem to be.
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.
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.
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.
It's completely unserious for programming language.
Even Perl got it better, you just specify version of language in the file and interpreter runs it as if it was code written for that version. And it didn't need to break all user's code to add UTF8 support like python
PHP mostly doesn’t make breaking changing, usually there’s multiple major versions before a breaking change. Typically, you get a deprecation notice, then warning, and then it breaks. Like… 5 years later.
Yes obviously some functions that worked in PHP 5.4 don’t work in PHP 8. It’s been over a decade. And the deprecations are usually for very good reasons. Security concerns, unexpected behavior, etc.
I Have over 300 sites in management and most of them will continue to remain in outdated environment because I know clients cannot afford this upgrade.
You will have to do it for free with AI or something because sooner or later they will leave you. Even if you bring it up, they will leave you on the spot. Don't rock the boat; whatever they are paying is enough to update those sites for free at this point. Or I will replicate the same sites for free on $2 hosting.
You can find free hosting if you’re doing a static site.
The question we should all be asking is: is Wordpress necessary for what we’re doing? A lot of the times, it’s not. If the client really needs to dynamically update content, just create an admin page and a build pipeline and redeploy the site on GitHub pages, cloudflare, whatever. This type of thing is trivial with AI.
Then, it’s basically impossible to break the site and it stays secure basically forever. It’s also faster and cheaper.
Every year we get posts about this. Every year, we need to point out that bug fixes get back ported by others. It seems like many in the open source community forget how open source works. The official release is EOL but very few use the official release instead get their binaries from a third party provider.
Most of them are doing package manager updates. For PHP you install php8.2 as a package and php8.3 as a package. So it's just upgrading and getting the latest version for that package. So yea, they most likely are upto date on their packages from their package manager.
Blogs like this make more sense when you realise the point isn’t to raise awareness that PHP versions are dropping from official support. It’s to raise awareness of the business or freelance individual who works on PHP services.
At least this blog has a lot of data in it, and is well presented. So I do congratulate the author for doing a thorough job. Which is more than can be said for 99% of the other sales pitches that are written as blogs.
The real elephant in the room is that hosting platforms and normal server operating systems support and maintain versions of PHP for years after the PHP project stops doing so.
It doesn't really matter what the PHP project does or doesn't support. RHEL/Ubuntu will get you updates for five to ten years even if PHP drops support after a week, as can the repositories that are derived from them.
If you're running PHP 7.4 on Rocky 8.4, you have nothing to worry about for a couple years, despite what alarmist blogs may be shouting.
PHP's fast pace is good for the language, which has improved immensely over the years, but that doesn't reflect what PHP users have ever been running. For the exact same reason, KDE/Gnome users running this year's or even last year's version are only a small segment of the total user base, despite there not even being any notable LTS support.
There are of course lots of well maintained alternatives to official releases. Security aside, in my opinion the commitment to back-compatibility from WordPress is a big negative to the developers who work on themes, plugins and core who can't use newer, faster, cleaner PHP features while supporting the majority of its userbase. Only in 2023 did they drop PHP 5.6, 5 years after its EOL.
The maintainers seem to have an informal policy of 5% of users running a PHP version is what they should be supporting. It's a chicken & egg though as the quote in the post says, many people don't have the incentive to bother upgrading if it works anyway.
It was a better thing in the past, but after the year WP & PHP has had with increasing vulnerabilities discovered, the if it ain't broke don't fix it mindset seems outdated.
The maintainers are clowns. For example one of first things many installs need to do is to set it up to support X-Forwarded-For header. There are no options for it in WP. There were multiple tickets asking for it. It's about 5 lines of code ("if this header from the loadbalancer/rp IP, set host ip to this header").
Every time they refused with "oh buh it's not RFC, no matter near every piece of software does it". For DECADE
When it got standardised into RFC (which was DECADE ago) guess whether they implemented it? Of course not. They started whining "oh but it's from the internet header, someone configuring it wrong might let people spoof IP". Sensible defaults that user could then set up for their env ? who needs that.
Wordpress project is a history of developer incompetency for last 23 years
This is a sane approach. Your webserver can and should handle X-Forwarded-For, not some PHP application. Use apache2 with mod_remoteip and you will get the client IP in REMOTE_ADDR. If you don't do that any client can send XFF.
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.
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.
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.
But they instead have time to fast track a feature no one needs and will cause issues when it’s turned on by default as pointed out by many Wordpress veterans. Talking about the new /random url that will randomly redirect to some content.
There’s a lot of really poorly designed plugins that improperly use custom post types as storage and assume complex slugs are safe. Ran into one client that had a plugin that generated invoice urls. If they don’t disable this new redirect they will be exposing customer information.
It also seemed to also apply to uploaded media last I checked. That’s one I really hope they filter out by default.
Of all the weird things with Wordpress .. why would you want to pick that one?
Making things convenient for your particular use case but a potential security issue for many others is not a good tradeoff, and the developers' position is reasonable here.
It is not strange that you have to tell your web server about your load balancer (as well as your certificate name, where to send logs, your application path etc.). For the vast majority of users, there's nothing more to it.
It would be a lot more weird if applications ignored this information and parsed headers with their own logic.
Based on what are you judging the normal release timetables?
I have not done proper math, but the delay between kernel tip and backports making their way into default Ubuntu binary repositories has always been like that for me. Sometimes a week early, sometimes a week later, but generally not trending down. And certainly not instilling confidence that the procedures will be ready to deal with a seriously-zomg-RCE bug without deviating from most everything that currently (generally..) prevents shipping broken binaries. (Relatedly, Ubuntu still has that two week update inhibition on Firefox - even though Firefox just reduced release cadence, lol)
And yet they released the PHP backports at the exact date every other distribution has.
Ubuntu took its sweet time testing their kernels, for sure. Doing a release schedule akin to Windows is surely something their paying customers should be annoyed by. However, it's hardly the end of Ubuntu like internet forums seem to think it is.
Hundreds of millions of servers ran vulnerable kernels for weeks and yet there has been no news of worms spreading like wildfire across the internet. Every CVE now claims to be the end of the world and it's honestly tiring to see people fall for grand claims every single time.
"You have nothing to worry about for a couple years"
have you heard of php2shell for instance? The problem is they don't offer patches to < PHP 8.
I think the only way that's true is if you install a proxy like https://github.com/Qbix/proxy - and even that doesn't protect you from the latest vulnerabilities discovered in e.g. PHP's backtrace for fatal errors.
The php team had an official 7.4 patch, yes. That was the only 7 or older version, that got an official patch by the php team, though. But it saved my beacon that day. Because it gave me the time to first patch php and then migrate an old application onto something more reasonable (needed to rewrite it, but reduced the complexity and the number of dependencies, so a net positive in my books).
I had a fully patched version of _5.6_ within a few hours of disclosure. This thread is specifically about non-official support, it's weird to just... ignore that. Were you meaning to reply to a different thread on the same post?
Oh, the post is a simple ego ad for a vibe coded mitigation that may or may not accomplish the stated goal, and may or may not introduce a fun new layer with fun new potential issues.
Well, by that same logic, your ego 5.6 patch may or may not actually work, but thanks for telling us about it?
I’d say making a proxy to help people and giving it away under MIT license is making the situation better for them than being totally exposed. But I’m happy for you tho that you’ve been able to patch your 5.6, your skills are impressive. Or sorry that happened.
I used to maintain several npm packages. As a general rule, I followed the nodejs release schedule. When nodejs versions stopped being officially supported, I stopped supporting them in my packages too. It’s nice to be able to use modern JS features. And nodejs has long, well documented support timelines, including LTS versions.
But it didn’t stop people filing bugs on my packages due to incompatibilities with ancient nodejs versions. One person replied back that they were using the latest version of node that was in their OS package repository. Fully 10 years old or something at that point - and already past its official EOL date. They didn’t have a reasonable path to update. And I’m not interested in supporting ancient software forever, for fun. I told them to use an old version - but it’s got known bugs.
Unless Debian or whatever is going to mirror all of npm, I’m not sure what they expect people to do. For well maintained projects like php and node, you’re generally gonna have fewer problems using modern versions.
Yeah, it's an issue with debian in particular. Mainly because they have such a long release cycle and they like to lock in to major versions of software packages rather than updating them. Currently node 20 is the latest version and the next version of Debian is due out some time next year.
Seems like by having such long release cycles they are creating maintenance headaches for themselves.
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.
The real.elephant in the room.is that many hosting providers offer shard hosting only for PHP code coupled with CPanel, but no other alternative, at a fair price. Heroku has been really a drop in the ocean, letting also Docker workloads
Speaking as someone who maintains the infrastructure for a company who has deployed hundreds (maybe thousands?) of Wordpress sites over the past 15 years, the other elephant in the room is that it's pretty much impossible to get most of these small-time clients to pay for keeping their software up to date.
Possibly writing better contracts that allow us to shut the site down if they down update, or building in enough margin to cover annual updates (prices us out n% of the time) might have been mitigations. It's actually been surprising how many clients have called to see if their sites are vulnerable in the wake of recent events.
The cost of keeping a Wordpress site up to date is not as simple as keeping PHP up to date. There is a lot of QA involved, and breakages still happen frequently. I'm not the expert in that area - my job is to make it possible to run the latest PHP.
How many of those are actually on the latest/recent patch release anyway? Doesn't really matter if it's EoL in Jan (in that it's not news, I mean) if they're not updating while it is supported anyway.
My perspective: the hyper clouds and their relentless marketing campaign to persuade people they should never consider being a sysadmin, has eroded very important skills around “lower level” systems ownership. Finding a good Linux sysadmin or network admin is tough these days.
Not just "EOL" but literally are unpached for php2shell and other vulnerabilities.
That's why I made https://github.com/Qbix/proxy -- although the reactions of some people on HN have consistently been that they'd rather see these machines get pwned and turned into botnets, than install a non-official fix.
I have a bunch of ancient Wordpress blogs, and I never need to maintain them, because I pay hosting services to do it for me. On wordpress.com, basic hosting is free and domain mapping costs a grand total of $16/year.
we really need some kind of LTS long term PHP release, with a lifecycle in decades, it's ludicrous people make sites with a language with such a stupid "self destruct" mode designed in to it.
It's really sad when you think about it. Internet is transient nowadays.
A few decades ago you would do simple html pages, and they would live forever and can still be alive today for some old blogs.
Now it is planned obsolescence, even for simple website or pages it will run thinks like WordPress or anything similar and the website is basically dead if not carefully upgraded every few years.
Nothing will survive in 20/30 years of the current internet except maybe in a broken version in the internet archive
PHP releases are supported for 4 years with no LTS releases. IMO that seems short for something so fundamental to a web server that so rarely requires new features.
According to the chart, 22% of users are on 8.2 (about to lose support). That version would have been the latest one available less than 3 years ago.
I wince when a client says that they built something in Wordpress. Not because Wordpress itself is bad, or PHP is inherently bad. The security implications of PHP + Wordpress + Plugins is just a nightmare to keep up to date. It's just not worth it.
paulryanrogers | 22 hours ago
IMO it's not worth staying on versions so ancient, especially for WP and its community which is largely on PHP 8.
dotancohen | 22 hours ago
For many WP site owners, that is not worth doing and the site will become another malware host. Unless you have sone benevolent, trustworthy dev to recommend to them.
Note that just two days ago, I was scolded for suggesting that an AI agent could even perform local desktop configuration, much less a server:
https://news.ycombinator.com/item?id=50660267
Gigachad | 22 hours ago
Dylan16807 | 21 hours ago
A particularly dynamic site, yes.
A static site [generator] has always worked and continues to work.
smelendez | 21 hours ago
Dylan16807 | 19 hours ago
ajasmin | 21 hours ago
dotancohen | 19 hours ago
Gigachad | 19 hours ago
If there is a server on the internet that hasn't been updated in a decades, it's currently running a bitcoin miner and serving malware.
HlessClaudesman | 15 hours ago
Wordpress self hosted model is a relic from another age, where plugins and dependencies weren't constantly being pounded with attacks.
Small businesses should encouraged to migrate to a managed solution like, Substack, Squarespace, Shopify or Patreon.
dapperdrake | 22 hours ago
carlheinzc | 21 hours ago
dapperdrake | 21 hours ago
LytraX | 19 hours ago
ErroneousBosh | 9 hours ago
I suspect it's probably pretty safe these days, there is no-one old enough to remember how to exploit it left.
[OP] xadz | 11 hours ago
WooCommerce 11.6 needs PHP 8.1 from February, and Contact Form 7 already needs 8.3. WordPress won't update a plugin if the PHP is too old, so those sites just stay on the old plugin version. More plugins will do the same, and then the plugin is the part that stops getting security fixes.
The lagging PHP support that hosts enable is becoming increasingly risky (and annoying for developers who want to make the most of new features!). Most WordPress exploits come through plugins, not PHP.
NooneAtAll5 | 22 hours ago
ajasmin | 22 hours ago
onion2k | 20 hours ago
Probably not, but as a good Internet citizen you should take a site that will become a malware host offline if you're not keeping it secure.
yurishimo | 16 hours ago
What is more likely to cause problems of course is plugins or themes. We all know software is somewhat of a “hack on it until it works” but how much hacking is what separates “custom” software from off the shelf.
Also, many shared hosting providers charge an extra fee if your site is on an old PHP Version so by upgrading you might even save a few bucks a month.
dofm | 21 hours ago
There's a deprecation in PHP 8.0 to do with the order of parameters with default values that will bite a lot of code.
In PHP 8.2, they deprecated creation of dynamic properties on classes without #[AllowDynamicProperties] pragmas or __get/__set accessors. That one also messes with a fair bit of code, though it's an easy enough thing for an LLM to just add that attribute to every class.
There's also the "left behind" tax: the older your server becomes through sheer complexity of upgrading, the more likely you are to have to compile PHP from source, which is not the nicest when you are likely to have to replace a distribution version that had a bunch of packages installed.
I was in this position for one machine for PHPShell; I had to build the patched 7.4. I happen to know that the deprecations in 8.2 will bite me, but the old project is going to get a more considerable overhaul sooner than that, so that it is in more LLM-friendly patterns.
Random side note: if you are revitalising an old PHP app and intend to migrate it away from PHP to another language, one sane intermediate step you might consider is reworking it to use the Slim framework ( https://www.slimframework.com ) which uses a compact form of route closure definition that is so similar to e.g. Express, Gin, the core Golang http.Handle APIs etc. that it will be a much easier task to scrutinise when you get there. LLMs seem positively giddy about the prospect. Type hints would help, too.
jasongi | 21 hours ago
This is becoming a rapidly dangerous mindset. The cost and risk of forking and fixing an abandoned piece of code is trending to zero and the risk of being pwned when leaving an EOL library publically exposed to the internet is trending to 100%.
Even the cost and risk of completely removing an unmaintained library is also trending to zero.
LLMs have a lot more patience for enumerating test-cases, automating tests and creating staging environments and magnitudes more than sysadmins have ever had.
The case for "don't touch it don't break it" is getting increasingly indefensible.
LoganDark | 20 hours ago
These kinds of systems often not only rely on every possible bug, they can rely on every possible side channel as well. And they often don't have any sort of testing or staging environment where screwups are recoverable.
dofm | 20 hours ago
I have one of these apps. Good code, modular structure (but very bespoke, and much of it quite an old design pattern), has a dev environment (but that environment is also old), makes use of a few now quite old dependencies. Works really well, and as a freelancer I simply don't get the billable time to fix what "ain't broke", so it gets improvements as it gets new feature requests.
The problem is that it ain't broke, in fact. Nevertheless I fully know the IIABDFI days are gone.
I am recovering from severe burnout and untangling its dependencies, restructuring it into more modern architecture that will be more amenable to LLM management, but as with any serious legacy code there's a lot to deal with from several directions at once.
Even figuring out how to describe its architecture concisely to an LLM is a multi-phase project! It will be easier to semi-manually modernise some things so that there is less explaining to do.
As it happens, getting it to literally just run on more recent PHP will be a much easier problem.
LoganDark | 19 hours ago
jasongi | 19 hours ago
You don't need to do this anymore. Ask the LLM* to describe its architecture to you.
*edit - a good, frontier LLM - like Astra/Sol/Opus
dofm | 11 hours ago
It’s true even in this project of mine.
I am finding more ways to use LLMs to resolve these issues but I need to be maintaining this project for the longer term and I understand its purpose; I will not bet its future on an LLM’s understanding of its architecture when I am capable of eliminating them.
jasongi | 19 hours ago
No staging or testing environment? Get the LLM to create one... Can't create one because of external dependencies/APIs? Get the LLM to reverse engineer you a very convincing mock of that dependency/API - each time there is an observed difference between the real and staging environment, just throw the LLM at fixing it.
The main barriers to achieving any of this is not technical. I'm sure there's places out there where none of the above is possible because those responsible for the systems don't have access to them.
The skilled operator used to be the one dude who knew how the system worked - who didn't have the time to do anything but fight fires. Now days, the skill is understanding how to get the LLM cranking in a good loop and letting it cook. You don't need 20 years of working on a system to know how it works anymore. The most important architectural decision you need to have is to have version-controlled code, infra and monitoring so that the LLM can reason about the system. I suspect many of these legacy systems do not even have source control, but the good thing is that once again, a like-for-like migration such as capturing all the details of a current system and representing it as code is another good example of a self-verifying task that LLMs are also great at.
dofm | 20 hours ago
And you have to remember that a lot of this code is just not in reproducible environments. So there's a fair chunk of setup effort involved in even getting an LLM to be able to safely work on it.
Like I say, the "left behind" tax is a serious problem with this stuff.
Joel_Mckay | 20 hours ago
Most people expect community-code PHP sites to fall apart eventually, as the people that deployed the host are usually already at another company years later.
Usually the fix is to spider a site into static html content, and nuke the dynamic rotting framework part from orbit. =3
dofm | 19 hours ago
Nothing that has survived into this problem space is throw-away, or it would have been thrown away.
There's a lot of solid, boring, just-works PHP that nobody has touched because it works, that now won't run on enforced newer environments because of deprecations. And as the pace of PHP improvement sped up around 8.x, so did the pressure to leave that working code on older PHP versions.
hparadiz | 15 hours ago
nickserv | 14 hours ago
dofm | 11 hours ago
mejutoco | 15 hours ago
dofm | 6 hours ago
But then I believe this of all interpreted languages now.
Joel_Mckay | 4 hours ago
The idea of building flawless code in complex patterns is naive, as at scale the improbable becomes a certitude. The Erlang interpreters have live internal state debugging as part of the API, and is compatible with constraint programming paradigms (list comprehension feature is somewhat functionally similar.)
Some other projects that I've found surprisingly reliable over the years. =3
https://www.rabbitmq.com/
https://www.phoenixframework.org/
dofm | 2 hours ago
Yes, though it's not the brokenness that concerns me about interpreted languages, but the interpreter attack surface (and the fact that without care, a supply chain attack can put code on your server that you never run and would only be useful to an attacker). Also that your job each time there's a security issue is to update all these packages and the interpreter, not just your app.
For example, the PHP2shell stuff was absolutely nothing to do with anyone's code; that is what made it so exhausting. No amount of good practice in a code context can save you when the interpreter's interface to the webserver is the target of the attacks.
It's not the only reason I am giving up on clever interpreted languages; smaller open weights LLM performance is another. But it is one.
My modestly-sized deskbound clanker sidekick and I are having fun writing a Swift app at the moment, and it seems highly capable of it. But it likes Golang a lot more. It's more metallic and beepy-boopy, I think. Elixir does seem to be a potential candidate too. Been a while since I looked, but I liked it as a human.
crown2 | 20 hours ago
why would you want to use a fascist automated plagiarism machine to do that when Rector can do it? this is madness
dofm | 19 hours ago
In my own project, yeah, PHPStan, Rector, anything that will help.
hparadiz | 15 hours ago
Kwpolska | 18 hours ago
What are those LLM-friendly patterns? Wouldn't upgrading the existing codebase with a LLM be easier than compiling PHP from source?
dofm | 11 hours ago
But it’s obvious that modern web frameworks now increasingly have a code pattern with simpler flow of control, fewer inversions. Compare the architecture of an Express or Gin app with the architecture of a database-CMS-backed app like Wordpress. Routes in closures, fewer class inheritances, flow of control is not altered by configurations held in databases, etc. The common pattern in web app frameworks tends not to be particularly MVC, either.
(This customer’s app is not WP but it does come from the CMS era; it’s not Laravel either)
FWIW, configuring PHP for compiling from source probably is something the LLM can plan out from phpinfo(). I didn’t think of this last time, but then the installation I was replacing had some capabilities I know (but the code would not show) were unused/different.
Having gone through it once I have the configure parameters saved, but I suspect even a modest LLM can reproduce them from the configuration. Nevertheless it’s not difficult, it’s just annoying.
Y-bar | 17 hours ago
chantepierre | 19 hours ago
Two Wordpress websites I built for neighbors in 2014 have always self-updated to the last version and nothing ever broke. I just bump the PHP version on their shared hosting panel. Of course strictly no third-party plugins nor themes, only slim themes I wrote at the time. The one thing Wordpress has for it is backwards compatibility, but it’s also what is slowly killing it.
Recently I also helped a few small nonprofits I know IRL to either migrate their WP site to a statically generated site, pointing an agent at it created a perfect replica in about an hour, or just migrate everything to the last version to be able to upgrade their old PHP. Again, pointing Claude at it with a general « setup a mirror on PHP 8.5, report any breakage, upgrade anything needed and work through scripts to avoid needing excess reads » upgraded and fixed their spaghetti and tower of plugins in about 2 hours. Not going into too much technical details since everyone here knows what needs to be done but of course I made it setup a dev environment (that no one will ever use) and tests along the way.
So it is possible. But the first step is explaining to the owners that the « buy once and let live » model was never possible to begin with and that Wordpress culture has (implicitly, nobody writes that anywhere) sold them a mirage.
Edit : to be fair to Wordpress and don’t give them an intent, it’s more of a « small business owner » culture problem than a Wordpress culture problem, but Wordpress embraced it by never breaking anything. In the small business owner culture, paying for new features was already questionable so paying for invisible maintenance is very far-fetched.
I’m so glad to not have anything to do with the web agency space professionally anymore.
ahmedfromtunis | 17 hours ago
Not the only reason. When I was maintaining the website of a company I worked for, I avoided updating WordPress or any of the installed plugins as much as possible.
It's been years since, but WordPress in particular was very, very finicky and the smallest of changes can bring an entire installation down with no easy way to fix it.
I hated everything about WordPress, from the framework itself to the plugins, to the culture in the community.
I've since moved to django, and it's like going from a failed state to living in a Nordic nation.
aiiotnoodle | 15 hours ago
It really used to get on my nerves the rent seeking attitude of a plugin that barely does what it promises unless I paid, and now I'm hostage.
znpy | 13 hours ago
rent seeking vs requesting free labor.
i don't know what's worst.
loloquwowndueo | 14 hours ago
Ensorceled | 13 hours ago
loloquwowndueo | 12 hours ago
preg_match | 6 hours ago
Other CMSes are much nicer, I like Astro. But they require build steps. For very good reasons, but, of course that doesn’t fly when non-dev people need to dynamically update the site.
glaucon | 5 hours ago
Probably Wagtail? - https://wagtail.org/
I've never done it myself but there are some interesting WP-to-Wagtail migration guides, e.g. https://www.webbyfox.co.uk/blog/wordpress-to-wagtail-migrati... .
Wagtail has nothing like the range of plugins which WP has but there are some out there https://github.com/wagtail/awesome-wagtail .
The missing piece, as far as i know, is the sort of managed hosting that wordpress.com offers but that might just my ignorance.
ModernTimes | 5 hours ago
Theodores | 15 hours ago
Imagine a simple home page carousel. You need something that has mostly CSS and about three lines of script, however, you have some 'mega carousel' plugin that uses dozens of scripts and thousands of lines of CSS. You need just one carousel but you have this plugin that does 150 types of carousel, with IE6 shims, for the lols.
The plugin will have the lamest code, with no guard clauses, just a mountain of 'if then else' spaghetti.
Add in a dozen other plugins of this calibre and multiply this by millions of blogs, and you have an unknown number of vulnerable websites. Sadly the plugins won, first time round, rather than bespoke development by skilled developers.
chantepierre | 12 hours ago
codazoda | 13 hours ago
My solution is a web based editor that lets me edit my blog in 30-seconds.
The site is statically generated by GitHub pages but the mechanics of that are all hidden. I publish a file and my blog updates a couple minutes later.
You can try it here:
https://edit.joeldare.com
snowwrestler | 10 hours ago
I agree, and I think even for technical folks, the value-to-burden ratio for Wordpress has gone into the negative. On top of the technical issues, it is now a broken fractured community with an unstable person in a position of leverage.
This type of website is available today for small orgs, though, via hosted web platforms like Squarespace, Shopify, etc. Even as someone who competently ran self-hosted Wordpress sites for years, it’s just so much easier to pay a few hundred dollars a year and focus on design, content, marketing, etc: the stuff that actually matters for small orgs.
pmlnr | 4 hours ago
dvt | 19 hours ago
I'm not saying it's not a problem, but probably not as big as article might make it seem to be.
LytraX | 19 hours ago
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.
2000UltraDeluxe | 16 hours ago
hparadiz | 15 hours ago
LytraX | 5 hours ago
traceroute66 | 19 hours ago
jason1cho | 18 hours ago
Den_VR | 18 hours ago
Kwpolska | 18 hours ago
InsidiousWombat | 15 hours ago
Even Perl got it better, you just specify version of language in the file and interpreter runs it as if it was code written for that version. And it didn't need to break all user's code to add UTF8 support like python
preg_match | 5 hours ago
Yes obviously some functions that worked in PHP 5.4 don’t work in PHP 8. It’s been over a decade. And the deprecations are usually for very good reasons. Security concerns, unexpected behavior, etc.
romania1 | 18 hours ago
system2 | 18 hours ago
wanderingpixel | 13 hours ago
system2 | 7 hours ago
Not my fav but cheap enough.
preg_match | 5 hours ago
The question we should all be asking is: is Wordpress necessary for what we’re doing? A lot of the times, it’s not. If the client really needs to dynamically update content, just create an admin page and a build pipeline and redeploy the site on GitHub pages, cloudflare, whatever. This type of thing is trivial with AI.
Then, it’s basically impossible to break the site and it stays secure basically forever. It’s also faster and cheaper.
TheTrueAres | 16 hours ago
onion2k | 16 hours ago
People who are running very old versions of PHP probably aren't deploying the patches.
chinathrow | 16 hours ago
jeroenhd | 16 hours ago
TheTrueAres | 14 hours ago
hnlmorg | 16 hours ago
At least this blog has a lot of data in it, and is well presented. So I do congratulate the author for doing a thorough job. Which is more than can be said for 99% of the other sales pitches that are written as blogs.
jeroenhd | 16 hours ago
It doesn't really matter what the PHP project does or doesn't support. RHEL/Ubuntu will get you updates for five to ten years even if PHP drops support after a week, as can the repositories that are derived from them.
If you're running PHP 7.4 on Rocky 8.4, you have nothing to worry about for a couple years, despite what alarmist blogs may be shouting.
PHP's fast pace is good for the language, which has improved immensely over the years, but that doesn't reflect what PHP users have ever been running. For the exact same reason, KDE/Gnome users running this year's or even last year's version are only a small segment of the total user base, despite there not even being any notable LTS support.
[OP] xadz | 16 hours ago
The maintainers seem to have an informal policy of 5% of users running a PHP version is what they should be supporting. It's a chicken & egg though as the quote in the post says, many people don't have the incentive to bother upgrading if it works anyway.
It was a better thing in the past, but after the year WP & PHP has had with increasing vulnerabilities discovered, the if it ain't broke don't fix it mindset seems outdated.
InsidiousWombat | 15 hours ago
Every time they refused with "oh buh it's not RFC, no matter near every piece of software does it". For DECADE
When it got standardised into RFC (which was DECADE ago) guess whether they implemented it? Of course not. They started whining "oh but it's from the internet header, someone configuring it wrong might let people spoof IP". Sensible defaults that user could then set up for their env ? who needs that.
Wordpress project is a history of developer incompetency for last 23 years
wouldbecouldbe | 15 hours ago
gsich | 15 hours ago
InsidiousWombat | 12 hours ago
man8alexd | 11 hours ago
gsich | 11 hours ago
stackskipton | 9 hours ago
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.
troyvit | 10 hours ago
dawnerd | 10 hours ago
There’s a lot of really poorly designed plugins that improperly use custom post types as storage and assume complex slugs are safe. Ran into one client that had a plugin that generated invoice urls. If they don’t disable this new redirect they will be exposing customer information.
It also seemed to also apply to uploaded media last I checked. That’s one I really hope they filter out by default.
xorcist | 4 hours ago
Making things convenient for your particular use case but a potential security issue for many others is not a good tradeoff, and the developers' position is reasonable here.
It is not strange that you have to tell your web server about your load balancer (as well as your certificate name, where to send logs, your application path etc.). For the vast majority of users, there's nothing more to it.
It would be a lot more weird if applications ignored this information and parsed headers with their own logic.
InsidiousWombat | 15 hours ago
Mate.
MATE.
Both RHEL AND Ubuntu just recently couldn't get kernel CVE fixed for 3 weeks while both Debian and the hackery ones like Arch did that just fine
hdgvhicv | 15 hours ago
justincormack | 15 hours ago
Filligree | 14 hours ago
loloquwowndueo | 15 hours ago
edelbitter | 11 hours ago
I have not done proper math, but the delay between kernel tip and backports making their way into default Ubuntu binary repositories has always been like that for me. Sometimes a week early, sometimes a week later, but generally not trending down. And certainly not instilling confidence that the procedures will be ready to deal with a seriously-zomg-RCE bug without deviating from most everything that currently (generally..) prevents shipping broken binaries. (Relatedly, Ubuntu still has that two week update inhibition on Firefox - even though Firefox just reduced release cadence, lol)
jeroenhd | 11 hours ago
Ubuntu took its sweet time testing their kernels, for sure. Doing a release schedule akin to Windows is surely something their paying customers should be annoyed by. However, it's hardly the end of Ubuntu like internet forums seem to think it is.
Hundreds of millions of servers ran vulnerable kernels for weeks and yet there has been no news of worms spreading like wildfire across the internet. Every CVE now claims to be the end of the world and it's honestly tiring to see people fall for grand claims every single time.
EGreg | 15 hours ago
have you heard of php2shell for instance? The problem is they don't offer patches to < PHP 8.
I think the only way that's true is if you install a proxy like https://github.com/Qbix/proxy - and even that doesn't protect you from the latest vulnerabilities discovered in e.g. PHP's backtrace for fatal errors.
hparadiz | 15 hours ago
sscaryterry | 13 hours ago
vntok | 12 hours ago
xav0989 | 12 hours ago
sdoering | 9 hours ago
Elidrake24 | 7 hours ago
Oh, the post is a simple ego ad for a vibe coded mitigation that may or may not accomplish the stated goal, and may or may not introduce a fun new layer with fun new potential issues.
EGreg | 5 hours ago
I’d say making a proxy to help people and giving it away under MIT license is making the situation better for them than being totally exposed. But I’m happy for you tho that you’ve been able to patch your 5.6, your skills are impressive. Or sorry that happened.
smsm42 | 4 hours ago
All the way down to 5.6.
josephg | 14 hours ago
I used to maintain several npm packages. As a general rule, I followed the nodejs release schedule. When nodejs versions stopped being officially supported, I stopped supporting them in my packages too. It’s nice to be able to use modern JS features. And nodejs has long, well documented support timelines, including LTS versions.
But it didn’t stop people filing bugs on my packages due to incompatibilities with ancient nodejs versions. One person replied back that they were using the latest version of node that was in their OS package repository. Fully 10 years old or something at that point - and already past its official EOL date. They didn’t have a reasonable path to update. And I’m not interested in supporting ancient software forever, for fun. I told them to use an old version - but it’s got known bugs.
Unless Debian or whatever is going to mirror all of npm, I’m not sure what they expect people to do. For well maintained projects like php and node, you’re generally gonna have fewer problems using modern versions.
https://nodejs.org/en/about/previous-releases
cogman10 | 13 hours ago
Seems like by having such long release cycles they are creating maintenance headaches for themselves.
jeroenhd | 10 hours ago
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-
madduci | 14 hours ago
trey-jones | 3 hours ago
Possibly writing better contracts that allow us to shut the site down if they down update, or building in enough margin to cover annual updates (prices us out n% of the time) might have been mitigations. It's actually been surprising how many clients have called to see if their sites are vulnerable in the wake of recent events.
The cost of keeping a Wordpress site up to date is not as simple as keeping PHP up to date. There is a lot of QA involved, and breakages still happen frequently. I'm not the expert in that area - my job is to make it possible to run the latest PHP.
OJFord | 16 hours ago
simonjgreen | 16 hours ago
EGreg | 15 hours ago
That's why I made https://github.com/Qbix/proxy -- although the reactions of some people on HN have consistently been that they'd rather see these machines get pwned and turned into botnets, than install a non-official fix.
motionlessveloc | 15 hours ago
patchtopic | 14 hours ago
greatgib | 14 hours ago
A few decades ago you would do simple html pages, and they would live forever and can still be alive today for some old blogs.
Now it is planned obsolescence, even for simple website or pages it will run thinks like WordPress or anything similar and the website is basically dead if not carefully upgraded every few years. Nothing will survive in 20/30 years of the current internet except maybe in a broken version in the internet archive
CivBase | 12 hours ago
According to the chart, 22% of users are on 8.2 (about to lose support). That version would have been the latest one available less than 3 years ago.
j45 | 8 hours ago
ramijames | 6 hours ago
pmlnr | 4 hours ago
A decade ago the same happened with PHP 5.2
See https://www.rarst.net/wordpress/technical-responsibility/