3 ms·
how long do you expect the underlying older PHP basis to be supported as a module in apache, or run viably through whatever nginx does? what guarantees of backp
by ggm 5y ago
how long do you expect the underlying older PHP basis to be supported as a module in apache, or run viably through whatever nginx does? what guarantees of backporting CVE security issues is there?
This wasn't just hatred of PHP (its a C like syntax. low barrier to entry) -It was about OLD php. Depending, formally (it may work on new PHP but it isn't clear. it might use deprecated language features or side-effects which dont work that way any more in newer language platform) on the old language spec can be a nightmare.
Plus, if its in a language you don't "like" then local mods are harder.
Would you e.g. run a Rust binary, if every other dependency you had was in GO? Or, APL, if nothing else you ran was in APL? Some choices about language make sense, if you consider the full ecology of running a service on a host.
- dugite-code 5y agoExcept it's not old PHP? Nextcloud stable officially runs on PHP7.4 and that is still officially supported for a little while yet. I personally run it on PHP8 with no issues https://www.php.net/supported-versions.php https://www.php.net/supported-versions.php Edit: Also the docker image is updated to PHP8 for NC22: https://github.com/nextcloud/docker/pull/1563 https://github.com/nextcloud/docker/pull/1563
- mastazi 5y ago> how long do you expect the underlying older PHP basis to be supported You can keep software up to date without rewriting in another language, which is what Nextcloud did by the way, as it runs perfectly on my box with PHP 7.3.
- ggm 5y agoYes, I get the specific instance isn't a good example. I'm working in a space with code which was written to very old Perl with CPAN, and we've emerged into a state where the CPAN dependencies actually can't be made exactly the same, and the old perl is not workable on the new platform. You're arguing the specific, I'm arguing the generic: it is possible to wind up in a place where your old code won't re-compile, or run.