Step-by-step – LAMP Linux Mint 19.3 Installation Guide

January 20, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. 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

    Enabling Apache2 Rewrite for 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