How to Install LAMP on LXLE 18.04 Linux Easy Guide

October 13, 2018 | By the+gnu+linux+evangelist.

Installing

  1. Then to Install the LAMP Web Server.

    sudo apt install apache2 php mysql-server php-mysql

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  2. How to Enable Apache2 mod_rewrite Module on LXLE.

    Enabling Apache2 Rewrite for LXLE
  3. And for Installing the PHP 7 Apache Module.

    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


QuickChic Theme • Powered by WordPress