Posts

Showing posts from February, 2012

Maximum Wordpress Performance on an EC2 Micro Instance

Image
This is how to get Wordpress handling a reasonable continuous load on an Amazon EC2 t1.micro instance using only standard Ubuntu packages. I'm writing down the recipe before I forget how I managed it, and because I could not find a post that specifically details how to get all of Wordpress, Apache, mod_rewrite, mod_fastcgi, php-fpm and php-apc to play nicely together. Subsets, but not all of them. There's plenty out there for nginx though. Eventually I pieced an Apache solution together from many sources, and the synthesis follows. One post in particular from Brandon's Blog on FastCGI with PHP Opcode Cache does capture the basic principle and explains the benefits.  Note: most of the benefit is from opcode caching, mod_php will be fine for most sites.