Should I be using Magento on a LAMP or LEMP stack?

Hi all,

I am interested in creating an online store using Magento and luckily, I found a tutorial on it. However, I don’t know if 1) it is the latest and best and 2) if I should be using a LAMP stack, or LEMP stack. I haven’t seen enough of LEMP to know if this is something I should do for an online store.

What do you guys/gals think?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I’ve decided not to go with Magento, I will keep exploring other options. The documentation for it is terrible and the entire experience with trying to set up my server for it was highly unpleasant.

The tutorial you linked makes use of the LAMP stack (Linux, Apache, MySQL, PHP). It was written for Ubuntu 12.04. If you want to install it on the Ubuntu 14.04 LAMP app, there are two small differences is that you should be aware of. First, the file /etc/apache2/sites-available/default is now named /etc/apache2/sites-available/000-default.conf Second, the Apache root has changed from /var/www/ to /var/www/html/ So update the files accordingly.

Also there is a newer version of Magento. You can download it with:


If you want to try installing it with the LEMP stack (Nginx), check out these docs on Magento’s wiki.

Let us know how it goes!