Skip to content

Instantly share code, notes, and snippets.

@dariubs
Last active May 22, 2019 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariubs/c8882b2e3ddc458ef8f1edcb4bad6286 to your computer and use it in GitHub Desktop.
Save dariubs/c8882b2e3ddc458ef8f1edcb4bad6286 to your computer and use it in GitHub Desktop.
Install and use laravel with ubuntu 18.04 step by step

Install and use laravel with nginx in ubuntu 18.04

Install PHP

You need to install PHP 7.1.3 or greater FPM version.

sudo apt install php7.2-fpm php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-zip

Install nginx

Install nginx from apt

sudo apt install nginx

Install composer

Install Composer, php dependency manager.

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment