By techsavy72
I am trying to get laravel to work on the server but, I can’t seem to find the right tutorial.
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!
I have written an article on How to Create a Laravel-Based LAMP Stack on Ubuntu However, I would suggest you to host your Laravel application on DigitalOcean using Cloudways. If you don’t have system admin knowledge.
The best place to start would be the following guide, which will cover the initial setup of you server. The guide that follows assumes that you’ve completed this guide, so it’s best to take a look at it now.
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
Once the above guide is complete, the next guide will cover how to go about setting up your LAMP Stack on Ubuntu 16.04.
As for Laravel, the recommended method of installation is using Composer, so once you’re done with both of the above guides, you’ll want to install composer using the following guide:
https://getcomposer.org/download/
After downloading composer, you’ll be left with a composer.phar file which you can rename by running:
mv composer.phar composer
With composer ready to use, all you’d need to do is follow the quick-start guide for Laravel:
https://laravel.com/docs/5.4/installation
This is more of a crash course since there’s not an official tutorial for Apache or NGINX on 16.04 as of now. If you run in to any issues, however, feel free to reply and I’ll be more than happy to help.
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.