Follow @endyourif rss Facebook LinkedIn

Update: It Actually Should Be LEPP Not LEMP or LAMP!

Published on Sep 14, 2012

In several recent posts: Its LEMP not LAMP! and Amazon EC2 Shoutout! I've discussed how I switched from a shared hosting account with GoDaddy to a dedicated Micro instance with Amazon. At the same time I decided to go out and try nginx (pronounced Engine-X) and remove Apache from the equation.

This saw some incredible results. However, several times since switching I've run into several database issues where it appears Mysql runs out of memory! Performing a top command shows over 15 mysql processes running at anyone giving time each taking up to 10% of the memory. On a micro instance I only get 600mb, so this adds up quickly!

It's LEMP not LAMP!

Published on Sep 6, 2012

I'm sure many of you have heard the term LAMP before standing for Linux Apache Mysql and PHP. This is a very typical setup for many open source websites. It's been around for ages. But make way for LEMP. In a recent report by w3techs, a new HTTP server is climbing its way up the ranks called nginx, but it is pronounced Engine-X; hence, the term LEMP standing for Linux Engine-X (nginx) Mysql and PHP.

According to this w3techs report nginx is now used by almost 12.5% of the websites we know what web server they are running on. More significantly a staggering 28.2% (of the 12.5%) websites rank in the top 1,000 worldwide (according to their Alexa ranking).

Along with my recent switch to Amazon EC2, I also decided to switch to a LEMP stack. I thought I should throw out another shout out to for this AMAZING step-by-step tutorial on installing a LEMP stack with extremely simple to follow instructions on my brand new Ubuntu 12 server.

Check out the step-by-step instructions to setting up your LEMP server.

I think I only had to make one modification to this instruction set before being able to perform one of the apt-get install commands I had to perform an update on the box. Luckily enough, the OS told me exactly what to do!

A friend and former colleague introduced me to nginx a while back with his blog about Setting up WordPress with nginx and FastCGI. This is quite useful for understanding the nginx configuration for a virtual host that requires rewrite rules as nginx currently has no support for .htaccess files!