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

Problem:

localhost/phpmyadmin
 

Not Found

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

Apache/2.2.22 (Ubuntu) Server at localhost Port 80
 
 
 
Solution:

PhpMyAdmin, by default, writes an alias in a file /etc/phpmyadmin/apache.conf

 

Open and edit your apache2.conf

      sudo gedit /etc/apache2/apache2.conf

Into the file write:

       Include /etc/phpmyadmin/apache.conf

Save the file.
Restart your apache.

    sudo service apache2 restart 

Comments

  1. Thanks. Just had this error after a partial update on ubuntu 12.04 where the php.ini file had changed and I didn't pay much attention .... (it did wipe the timezone setting as well :( )

    ReplyDelete
  2. Much obliged friend! I have just set up a LAMP server on ubuntu 13.04. I have added ppa:ondrej/php5 to get more up to date php5 and apache2 versions and was thinking that might have broken phpmyadmin. But it may well have cause the need to find your post in order to get it to work.

    ReplyDelete

Post a Comment