What is better for a Laravel app in a 512MB droplet?

September 13, 2015 4.5k views
LEMP MySQL PHP Apache Ubuntu

Hi guys,

I would like to ask you what of the following configurations should be better for a small applicacion done with Laravel framework.

  • LEMP + PHPMyadmin
  • Ubuntu+Nginx +PHP +PHPMyadmin
  • Ubuntu+MySql+PHP+PHPMyadmin
1 Answer

I'm a big fan of Nginx myself, but there are pros and cons to both Nginx and Apache. There is a lot of buy in for using Nginx in the Laravel community. For instance, Laravel Forage uses it for apps deployed using their service. In the end, I'd recommend going with whichever you are most comfortable and experienced with. If you want to dig into that question a bit deeper, check out this article:

Check out this tutorial for a walk through on getting a Laravel app up and running with Nginx and php-fpm:

by Justin Ellingwood
Laravel is an easy to use, modern framework for the PHP programming language. In this guide, we will demonstrate how to install Laravel with an Nginx web server on an Ubuntu 14.04 server instance.
Have another answer? Share your knowledge.