How to Install and Configure Laravel framework with Nginx on Ubuntu?


I'm unable to setup latest laravel with Nginx on Ubuntu. What should I do to set up a complete Laravel framework with Nginx on Ubuntu 20.04?

1 Answer

There are number of steps to setup Laravel with Nginx on Ubuntu server. For eg:

  • Install Nginx
  • Install php-fpm
  • Install MySql or MariaDB
  • Create database and database user
  • Install PHP Composer
  • Configure Nginx Virtual Host for Laravel
  • And then Install Laravel

You can follow all these steps in this post: -- Install Laravel with LEMP stack on Ubuntu


Please login or create new account to participate in this conversation.