Installing
-
2. Installing
Then to Install the LAMP Web Server
Simply Run:sudo apt install apache2 php mysql-server php-mysql
If Got “User is Not in Sudoers file” then see: How to Enable sudo
How to Enable Apache2 mod_rewrite Module on Linux Mint.
Then Install the PHP 7 Module for Apache
With: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