I just use plain Debian, copy my stuff over via rsync and everything works fine.
The machine gets something like 10k users on a normal day. In the past, it occasionally handled 30x that.
I just use plain Debian, copy my stuff over via rsync and everything works fine.
The machine gets something like 10k users on a normal day. In the past, it occasionally handled 30x that.
You can turn on autoupdates or run "apt update && apt upgrade" regularely. If an OS level exploit slips through that, you will probably be affected no matter where you are hosting.
But OS level exploits are super rare. The problem is usually your application. And Heroku and Co cannot guard you against those problems.
I'm not sure what you mean by setting up a server "in a way for a service open to the internet". "apt install php" gives you pretty much all you need. And it is ready for the open internet.
On a plain Debian installation, do "apt install php", throw your files into /var/www/html/ and your application is up and running in a secure fashion.
Can marketing cause learned helplessness?
When you're running a real business and don't want to be woken up at 3am this is worth every penny.