Question

How do I configure LEMP (Ubuntu 16.04) for Laravel 5.4?

Hello,

I did a basic one-click app install for LEMP (ubuntu 16.04). I was wondering if there was a tutorial on how to set it up for Laravel 5.4? I’ve found it for Ubuntu LAMP 14.04, but not for 16.04. Does anyone know where I can find a reliable source to get this done?


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 figured it out, maybe LEMP 16.04 doesn’t use the /etc/nginx/sites-available/default anymore. So, I tried editing this file instead.

sudo nano /etc/nginx/sites-enabled/digitalocean

Then, whooah! It worked :)

Reference: https://www.digitalocean.com/community/tutorials/how-to-move-an-nginx-web-root-to-a-new-location-on-ubuntu-16-04

@jubiki

That didn’t help too :(

@jubiki I have recently made a gist for configuring the latest laravel 5.4 on LEMP,follow the link here

https://gist.github.com/naveenyagati/5deec8fc40a2faaff20c629362dddf39