By KingCompass
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.
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!
A sample Apache VirtualHost for a Laravel project could be as simple as:
<VirtualHost *:80>
ServerName example.com
DocumentRoot "/var/www/html/project/public"
<Directory "/var/www/html/project/public">
AllowOverride all
</Directory>
</VirtualHost>
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.