Install Lampp (apache, php, mysql, phpmyadmin) for ubuntu

Step 1:

sudo apt-get install php5 mysql-server apache2

You can add password root access mysql.

 

sudo gedit /var/www/info.php

<?php
phpinfo();
?>

You can Restart apache:

sudo service apache2 restart

You test here:
localhost/info.php

Install phpMyAdmin:

 

sudo apt-get install phpmyadmin

After choose apache then click ok, you set passwork config phpmyadmin.

 

Ok, you access browser and typing http://localhost/phpmyadmin is test.

GoodLuck!

Trả lời