Comments on How to Install Laravel 5.6 PHP Framework with Nginx on Ubuntu 18.04

Laravel is a free and open source PHP framework that implements the MVC (Model-View-Controller) design pattern. In this tutorial, I will guide you step-by-step on how to install Laravel version 5.6 with Nginx as the web server, PHP-FPM 7.2, and MariaDB.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Robin

systemctl start mysql

By: Aebr

Why not use LinuxBrew for installation of this modules

By: Jack

hakase labs

i remembered something about Nano (^^)

(if you know what i mean)

By: ivan

my variation to these instructions- step "upgrade all packages on your system"     - when prompted i said keep current menu thing- "netstat -plntu"      - skipped- vim fpm/php.ini     - rather use "nano"- "netstat -pl | grep php7.2-fpm"    - skipped- Step 4 - Install MariaDB     - skipped- "vim sites-available/laravel"     - replace this step with this     - rm /etc/nginx/sites-available/default     - nano /etc/nginx/sites-available/default- "nginx -t "     - skip this- "sudo apt install unzip -y"    - skipped- "composer create-project laravel/laravel ."    - replaced this with following    - "cd /var/www/laravel"    - "git clone https://github.com/ivan006/Personal-apps ."    - "composer install"    - "mv .env.example .env"    - "php artisan key:generate"

By: ivan

my variation to these instructions- step "upgrade all packages on your system"     - when prompted i said keep current menu thing- "netstat -plntu"      - skipped- vim fpm/php.ini    - rather use "nano"- "netstat -pl | grep php7.2-fpm"    - skipped- Step 4 - Install MariaDB    - skipped- "vim sites-available/laravel"     - replace this step with this     - rm /etc/nginx/sites-available/default     - nano /etc/nginx/sites-available/default- "nginx -t "    - skip this- "sudo apt install unzip -y"    - skipped- "composer create-project laravel/laravel ."    - replaced this with following    - "cd /var/www/laravel"    - "git clone https://github.com/ivan006/Personal-apps ."    - "composer install"    - "mv .env.example .env"    - "php artisan key:generate"

By: freesoul

What about installing Opcache + APCu PHP cache to speed up PHP?