You can still run LAMP stack on something like Digital Ocean. There are even pre-built droplets.
Personally, I build webapps in Go now. I make heavy use of the HTML templating package, and then just use vanilla HTML, CSS, and JS on the front end. Database in PostgreSQL or MySQL.
That will build a binary that you can run locally, and when you're ready to deploy you just drop that and your template files on a VPS. Very easy to migrate this stack to a cloud architecture as you scale, e.g. on App Engine.
The tech debt I have on this stack right now is still running with the Gorilla Toolkit project which has been shuttered.
Personally, I build webapps in Go now. I make heavy use of the HTML templating package, and then just use vanilla HTML, CSS, and JS on the front end. Database in PostgreSQL or MySQL.
That will build a binary that you can run locally, and when you're ready to deploy you just drop that and your template files on a VPS. Very easy to migrate this stack to a cloud architecture as you scale, e.g. on App Engine.
The tech debt I have on this stack right now is still running with the Gorilla Toolkit project which has been shuttered.