New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Why is the world still running on PHP?
SodaWithoutSparkles
Member
in General
Between the servere vulnerabilities and that the language being written in a way that is very prone to go wrong, why is everyone still running on PHP?
Comments
I think we all know the answer to this.
Slow, expensive to migrate off. And often no justification to do so at a company until something like this happens.
If it works, don't touch it
PHP is fine
PHP is lovely. ❤️
I actually think PHP was the pre-ai for lot of "intro" into development.
PHP was fast, easy ran without compiling. really was the "easy" at least for basic tasks way to get into programming.
Other than that, stubborn, expensive to to move off exactly as datahoarder said.
Easy to install , works without any configuration
And by default in many hosting platforms
Im not a fan of dealing with 4518 dependencies that are all subject to supplychain attacks for a shitty website. Just dealing with php is easier and it just works.
There is only 2 reasons, why I would switch.
As long as these 2 are fine, why bother?
There is enough software, that gets more RCE's than PHP and is still used daily.
I deploy NextJS, not fun either. Doesn't mean we shouldn't use it but I mean yeah, there is to be considered that PHP Foundation is severely understaffed this was discovered in August, if I had to chose between something I'd definitely factor that in.
I asked Muse a narrower question: why are most billing panels in PHP instead of Rust?
The answer is: plugin ecosystem.
WHMCS and Blesta have so many plugins in the form of PHP files.
Drop a file and you get a new feature.
Rust doesn’t have a stable ABI.
If one makes a billing panel in Rust, the plugin would have to be written in WebAssembly, which takes more effort.
Even if someone starts a new panel in another safe compiled language like Go, it would be an uphill battle when there are few available plugins.