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

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

Getting Started

  1. 4. Testing

    Finally, to Test LAMP WebServer Installation

    cd /var/www/html

    Create a PHP Info file:

    sudo touch info.php
    sudo chown www-data:www-data info.php
    sudo nano info.php

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

    <?php
    phpinfo();
    ?>
    

    Ctrl+x to Save & Exit from nano Editor ;)
    Open on Browser the URL: http://localhost/info.php
    How to Install LAMP on Linux Mint 19.3 - PHP Info
    You should Successfully see the PHP Info notice :)

  2. How to Create an Apache 2 Virtual Host on Mint

    Ubuntu Apache2 Virtual-Host Quick Start

Contents