Using php + sql and maybe a little javascript is generally an OK-ish method that has few strings attached and runs on anything. However there are a lot of modern frameworks that let you do a lot more stuff. There things like django, firebase, blazor, asp net or whatever but what FOSS equivalent to this “next gen” web development stuff should we be using?
As always, it depends! I’m a big fan of “the right tool for the job” and I work in many languages/platforms as the need arises.
But for my “default” where I’m building up the largest codebase, I’ve gone for the following: