Setting Up
-
2. Installing LAMP
Then to Install the LAMP Web Server
Simply play:sudo apt install apache2 php mysql-server php-mysql
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.How to Replace MySQL with the MariaDB for Ubuntu 20.10 Groovy.
Again to Install the PHP 7 Apache Module
Run:sudo apt install libapache2-mod-php
Please note that this package ONLY works with Apache’s prefork MPM, as it is not compiled thread-safe.
Contents