Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

janschloss's avatar

Server setup on Digital Ocean for Laravel 5.4

Hey,

I can not find an up to date tutorial on how to do the server setup on Digital Ocean for Laravel 5.4.

Which stack is recommended? What are the steps?

Greetings, Jan

0 likes
3 replies
janschloss's avatar

Thanks zachleigh, I know how to set up the LAMP/LEMP part but heard that Laravel needed a special setup in addition to one of these stacks? Is that the case?

Furthermore, do you know if a 5 Dollar Digital Ocean droplet is sufficient for a basic Laravel application?

zachleigh's avatar

I dont know about nginx, but Apache doesn't need anything special. Just point the virtual host file to your public directory and make sure you have the options set correctly. I believe this works:

Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted

Please or to participate in this conversation.