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?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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.
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
I’ve tried that tutorial, and it didn’t help me. I still get the default blue screen.
@jubiki
The overall gist of the guide here:
https://www.digitalocean.com/community/tutorials/how-to-install-laravel-with-an-nginx-web-server-on-ubuntu-14-04
… is pretty much the same for 16.04. The one section you would want to skip is the one regarding the creation of a swap file. This isn’t recommended now, so it’s safe to overlook that section.