Is there a tutorial for installing Laravel 5 on a Ubuntu 14.04 LAMP stack ?

Is there a tutorial for installing Laravel 5 on a Ubuntu 14.04 LAMP stack ? I found some older tutorials, but nothing recent. When I do the installation I’m able to see the directory listing. I’ve tried chmod -R 775 storage, but that still didn’t work. Any help is appreciated. New to DO and Laravel. Thanks in advance.

Show comments

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.

A sample Apache VirtualHost for a Laravel project could be as simple as:

<VirtualHost *:80>
  DocumentRoot "/var/www/html/project/public"

  <Directory "/var/www/html/project/public">
    AllowOverride all


The key is that the DocumentRoot should be your project’s public/ directory.

The only directory whose permissions you should change is the project’s storage/ directory in order to grant the web server write permissions:

sudo chmod -R 775 /var/www/html/project/app/storage