How to Install LAMP PHP 5.6 on Ubuntu 18.04 Bionic Easy Guide

October 19, 2019 | By the+gnu+linux+evangelist.

Installing

  1. 2. Enabling PPA Repo

    Add PHP PPA for Ubuntu GNU/Linux

    Install PHP Repo for Ubuntu
  2. 3. Installing LAMP

    Then to Install Complete LAMP Stack.

    sudo apt install apache2 mysql-server php5.6 php5.6-mysql libapache2-mod-php5.6

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

  3. How to Enable Apache2 mod_rewrite Module on Ubuntu.

    Enabling Apache2 Rewrite for Ubuntu

Contents


QuickChic Theme • Powered by WordPress