Skip to content

Install Apache2, PHP5, PHPmyAdmin, MySQL

Hello,

I will just show how to quickly install Apache 2, PHP5, MYSQL and PHPmyAdmin in Ubuntu.

Install apache2 with:

$ sudo apt-get install apache2

Install PHP5:

$ sudo apt-get install php5 php5-common php5-cli

Install MYSQL:

$ sudo apt-get install mysql-client mysql-server

(During the installation it will ask you password for root user of MySQL)

Install PHPMyAdmin:

$ sudo apt-get install phpmyadmin

(It will ask the MySQL password and of the PHPMyAdmin user)

Best Regards,
Matheus

Published inAprendendoLinuxMySQLphp

4,182 Comments

  1. Can I just say what a relief to find a person that truly knows what they’re talking about online. You certainly know how to bring an issue to light and make it important. More people should read this and understand this side of your story. I can’t believe you are not more popular given that you most certainly possess the gift.

  2. Wow that was unusual. I just wrote an incredibly long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say fantastic blog!

Leave a Reply

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