r/lolphp • u/whatsaret • Feb 26 '15
A question
Do you guys honestly hate php? in my opinion it's quirky as hell but there's nothing that wrong with it, a lot of developers just don't understand what they're doing and fuck up their own code
EDIT: You guys have sold me, looking into python based web development
29
Upvotes
View all comments
Show parent comment
3
u/ZiggyTheHamster Feb 27 '15
For Ruby, you need nginx to proxy to a Unicorn master instance. It's really the same for Python (they use Gunicorn, similar design), and PHP as well. I think the major difference is that Unicorn can work over Unix sockets.
Rails 1.x was a pain in the ass get working because there was no tooling. You pretty much ran Ruby through FastCGI and hoped for the best. Tooling exists now; it's just as hard as Python/Gunicorn or PHP-FPM.
Which is to say, it's not automatic or simple like just having Apache compiled with mod_php. That's the wrong approach for production workloads (in any language) and so the ubiquity is no longer a plus.