PHP with any of sqlite, MySQL, or Postgres. Those have almost no dev environment required other than vim/emacs and command-line tools (screen/tmux, ctags, rg/grep, sed, awk, etc.).
I use Go with different database back-ends, with vim and CLI tools. Nothing fancy required, Go comes with everything you need.