Re:PHP in 2021
by joelbluminator on Friday April 16, 2021 @02:56AM
(#26830489)
idk if we're talking about ease of getting started Heroku kinda made it as easy as it can get (started with Ruby but now supports all languages).
Re:PHP in 2021
by mschuster91 on Friday April 16, 2021 @06:32AM
(#26832093)
You still need Heroku for that while there are a literal boatload of PHP shared-hosting providers.
Trying to get a python/ruby framework working in the same env, without root access? Whoooo boy. 20 years in the business and I still refuse to do that crap. FastCGI and the like just never work properly the first time in shared hosting.
You need virtual environments to keep dependencies at bay, debugging is a pain if the web server and fcgi process don't communicate properly. Most likely you won't have access to error.log so good luck figuring out why everything returns HTTP 500.
While you're still figuring out how to get helloworld.py to respond, the dude with PHP is already done.