How to Install LAMP Ubuntu 18.04 Bionic Easy Guide

April 18, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Setting Up

  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 Look: Solution

    How to Replace MySQL with Latest MariaDB for Ubuntu 18.04 Bionic

    Installing Latest MariaDB in Ubuntu
  2. 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


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,