It’s not like choice is not there.
Regarding PHP, a small wiki or cms was always a starter project back in the day. For sure it’s a good way to wrap your head around a language and project
PHP can hosted in so many places for so cheap. It still has a place, like everything
2) You still have LAMP, even if the A is now often Nginx and the M Postgres. But that's besides the point, because several programming languages and web frameworks now come with their own built-in web-server for development, so you don't even need a stack to get started! This part is easier today.
Uh oh.
Wikipedia became popular despite its programming. Anyone who has ever tried to edit a Wiki page knows its editor is absolute garbage, for example. Want to create your own basic DIY wiki in 2026? Just set up a GitHub Pages which auto-accepts pull requests, you'll be up and running in less than 30 minutes.
Besides, nobody is forcing to to use the current programming paradigms. A classic LAMP stack will still work.