phpmyadmin is not working on Ubuntu 16.04

What is phpMyAdmin


phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web.
phpMyAdmin supports a wide range of operations on MySQL and MariaDB.

Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.

But one of the basic challenge almost every entry level linux user face is - phpmyadmin is not working. In this case, he/she should do?

For this purpose, you have to edit Apache configuration file.

1. Go to Terminal and type

gksu gedit /etc/apache2/apache2.conf

2. Then add the following line to the end of the file.

Include /etc/phpmyadmin/apache.conf

3. Then restart apache

/etc/init.d/apache2 restart

This is the solution you will get from ask ubuntu but it will not solve your process. it will make your apache server failed to start.

so to solve this problem you have to type only one command.

sudo apt-get install phpmyadmin

It will download required dependencies automatically so you do not have to worry.

To install LAMP you should click here.

Comments