– Install LAMP Stack (Linux, Apache, MySQL, PHP) in Ubuntu 19.10

Install LAMP Stack (Linux, Apache, MySQL, PHP) in Ubuntu 19.10In the following video, it is explained how to install Apache, MySQL, PHP and configure them.
Install PHPStorm and connect to MySQL using PHPStorm.

Before running any command run:
– sudo apt-get update
– sudo apt-get upgrade

Install Apache
– sudo apt-get install apache2

Install MySQL
– sudo apt-get install mysql-server
– mysql_secure_installation

Add PHP 7.3 repository
– sudo add-apt-repository ppa:ondrej/php

Install PHP, Apache module for PHP and PHP extension for MySQL.
– sudo apt-get install php7.3 libapache2-mod-php7.3 php7.3-mysql