News for hackers. Stuff that matters.
Re:How to handle 1000s of concurrent users on a 360MB VPS by ognyankulev on Saturday May 28, 2011 @05:01AM (#2594180)
As written in another comment, nginx + php5-fpm is a great combo, no need for Apache at all. I run both Drupal and WordPress (the latter against my will :-P ) in such a setup.

I think the only reason people use nginx -> Apache mod_php is because there's a lot of documentation and knowledge about Apache. nginx requires a little bit different mental model how HTTP requests are served but it's worth it.

EDIT: You can think of PHP5-FPM as Apache+mod_php but only serving PHP requests. So nginx handles static files and URL magic and when there's request for PHP, it passes it to PHP5-FPM, just like it would pass it to Apache+mod_php. This is oversimplifed but it's kind of like that.

Re:How to handle 1000s of concurrent users on a 360MB VPS by chopsueyar on Saturday May 28, 2011 @08:57AM (#2594376)
I had a similar configuration for a Wordpress blog, and another Linode instance running ExpressionEngine.

I have nginx configured with php-fpm to use sockets to communicate between each other.