3 ms·
How widely is modern PHP deployed on the super-cheap shared hosts? Being able to write robust web applications that can be deployed on any cheap shared host in
by mwcampbell 5y ago
How widely is modern PHP deployed on the super-cheap shared hosts? Being able to write robust web applications that can be deployed on any cheap shared host in the world seems like a superpower.
- francislavoie 5y agoVery widely, for things like WordPress. But shared hosting is a security nightmare. VPSes are super cheap nowadays, it's way better to go with that if you're trying to start/run a business.
- Tijdreiziger 5y agoSome hosts do per-customer containerization now. For tech businesses, I agree wrt VPSes; but for businesses that run a couple of WordPress sites and where tech isn’t a core competency, you can’t beat traditional shared hosting from an ease-of-administration perspective.
- jeroenhd 5y agoI've never seen an affordable shared host that _didn't_ offer at least PHP support. They may be a version or two behind (the cheaper they get, the further behind) and they may have some functionality disabled for security (system(), file_get_contents HTTP calls, etc.) but for about half a dollar a month you can get a reasonably competent web host with enough storage to run a blog for years. That said, if you care about performance, be wary of shared hosts. Some frameworks, like Symfony, need quite a bit of CPU and IO to build a up a cache to get acceptable execution speeds. Nothing too dramatic, but shortly after setting up a website it may be slow on shared hosts with strict CPU and memory limits.
- omnimus 5y agoI believe most common is to use VPS managed by some third party service like Laravel Forge, Ploi.io, Moss.sh, Serverpilot... It gives you more control and isolation but it's still pretty much like shared host experience and not much more expensive.