Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure
by francispelland on Monday March 25, 2013 @08:35PM
(#5440659)
Not to mention NGINX is what people should opt for, not Apache when it comes to performance.
[ Parent
| on HN ]
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure
by niggler on Monday March 25, 2013 @08:41PM
(#5440684)
I've never used PHP with NGINX. Can you recommend a good tutorial for configuring the pair??
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure
by francispelland on Monday March 25, 2013 @09:00PM
(#5440752)
To be honest, I never used one. It came installed on my stack and all I did was disable apache, enabled NGINX and PHP-FPM (cgi compiled php, quite a bit faster).
But if there would be a tutorial, perhaps this? http://www.howtoforge.com/installing-php-5.3-nginx-and-php-f...
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure
by ecaron on Monday March 25, 2013 @08:50PM
(#5440720)
When using PHP and Nginx, you're going to become familiar with PHP-FPM (FastCGI Process Manager). The briefest tutorial to get to working is at http://www.howtoforge.com/installing-nginx-with-php5-and-php....
Re:The same app 4 times: PHP vs Python vs Ruby vs Clojure
by lmcnearney on Monday March 25, 2013 @08:52PM
(#5440727)
Look at php-fpm (FastCGI process manager) which has been bundled with PHP 5.3+. On the nginx side, you would configure it to use fastcgi_pass. An example configuration is available in the Silex documentation: