Install Apache, MySQL, PHP (LAMP) Stack On Ubuntu 18.04 LTS

Install Apache, MySQL, PHP

6 Responses

  1. Jim says:

    2.2 you changing aut method but password for root is not set so ater doing that you can’t log into mysql at all

  2. Adam says:

    Many thanks really for the tutorial, highly appreciated,

  3. angel says:

    Many thanks a precise tutorial

  4. Alex says:

    Thank you! Works great in 2020.

  5. Sebastian Sefyu says:

    This is the best guide on the web, very detailed wish screenshot. Awesome. It also works great as in 2020. I opted however not to install default php 7.1 and upgraded to 7.3. Same thing with phpmyadmin to 4.9 version which is stable. DO NOT INSTALL older version 4.6 of phpmyadmin on php 7.2. You will get myphpadmin errors. You need newer version >4.7. Latest stable one is 4.9 as of my post.

    sudo apt install software-properties-common
    sudo add-apt-repository ppa:ondrej/php
    sudo apt install php7.3 php7.3-common php7.3-opcache php7.3-cli php7.3-gd php7.3-curl php7.3-mysql

    sudo add-apt-repository ppa:phpmyadmin/ppa
    sudo apt-get install phpmyadmin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.