As part of my web optimization interest, I’ve been looking into alternatives & add-ons for the traditional LAMP stack.
The most obvious thing I’ve found is replacing Apache with Lighttpd or nginx. nginx seems to be more updated (based on what I’m remembering of a cursory web search a while ago), so I’m focusing my efforts on that.
I’m also looking at PHP-FPM instead of proxying PHP requests to Apache. And Varnish, which I’ve been told good things about by Brian. And a PHP accelerator too. APC or memcache/ Something like that.
I’m planning on using an Amazon EC2 instance to play around with nginx and everything else… get some use out of my credit while I have it.
nginx tutorials I’ve found:
- interfacelab.com/nginx-php-fpm-apc-awesome/
- blog.digitalstruct.com/2010/07/12/getting-started-with-nginx-and-php-fpm/
- www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/
- wiki.nginx.org/NginxConfiguration
- kbeezie.com/view/nginx-configuration-examples/
- danielmiessler.com/blog/optimizing-wordpress-with-nginx-varnish-w3-total-cache-amazon-s3-and-memcached (In fact, just danielmiessler.com/categories/system-administration, since this guy’s doing more stuff with nginx and Varnish thn I want to link to)
- poiru.net/2012/01/12/nginx-cache-bypass
– specific to hosting a phpBB instance on nginx