How to install phpMyAdmin on Ubuntu
To install phpMyAdmin on Ubuntu you should have LAMP (Linux, Apache, MySQL and PHP) already installed. If you dont yet have it installed or you don't know how to do it read Installing LAMP on Ubuntu tutorial.
To install phpMyAdmin run:
sudo apt-get install phpmyadmin
If you have latest package of phpMyAdmin in the repository then you will have to enter the password to mysql database (configuration tables are created there) and also login and password for constant using during the installation.
sudo /etc/init.d/apache2 restart
Check if the installation was a success by navigating http://localhost/phpmyadmin. If you install phpMyAdmin not on a local server put your server IP instead of localhost.
If this doesn't work you can fix it. All you have to do is to put
include /etc/phpmyadmin/apache.confin the end of /etc/apache2/apache2.conf file.
After that restart apache again.
That would be all.
This work is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.
Got a comment?
All Rights Reserved.