4 ms·
That's a much more attractive configuration file than an Apache one. I see that you're using FastCGI. Something I didn't mention was that I attempted to use Fa
by kadavy 17y ago
That's a much more attractive configuration file than an Apache one.
I see that you're using FastCGI. Something I didn't mention was that I attempted to use FastCGI, but gave up because my memory usage kept snowballing until I had to reboot my server over and over again. I don't know for sure whether it would have made things any faster.
- pierrefar 17y agoUse php-fpm with enginx and you're golden. I ran a website getting millions of requests daily and it worked a treat on a small EC2 instance.
- jf 17y agoDavid, Nginx is awesome.
- kadavy 17y agoNo, you're awesome, Jöel
- IgorPartola 17y agoHere's the simplest way I've found how to do it. There is also a snippet of Nginx config floating out there for enabling SuperCache (and I assume Total Cache would be easy to implement too). I am able to run 8 FastCGI processes + nginx + MySQL (with InnoDB) on a 256MB VPS, but YMMV. Overall, nginx is awesome. http://igorpartola.com/web-development/how-to-set-up-nginx-with-php-on-ubuntu http://igorpartola.com/web-development/how-to-set-up-nginx-w...