Author : beriba | 10/13/2012

To install phpmyadmin just execute this command:

sudo apt-get install phpmyadmin

Then you need to go to


PhpMyAdmin should now work. But if the above url gives you an error:

Not Found
The requested URL /phpmyadmin was not found on this server.

you need to check two things.
1. Open file:


and look for alias /phpmyadmin. It should look like this

Alias /phpmyadmin /usr/share/phpmyadmin

2. Check directory:


There should be a file phpmyadmin.conf which is a symlink to


If it’s not there, create it with this command:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

After this, you just need to restart the server and enjoy your phpmyadmin installation.