Ubuntu – phptheadmin is not working after I installed it

phpmyadmin

I am using ubuntu-11.04.

I followed these steps on this site:

So far my apache2, php, and mysql are working fine except phpmyadmin… Whenever I run this:

http://localhost/phpmyadmin/

I get this error on my browser:

Not Found

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


Apache/2.2.17 (Ubuntu) Server at localhost Port 80

Best Answer

Please read this section in Ubuntu wiki. You will need to configure your apache2.conf to make phpMyAdmin works.

gksu gedit /etc/apache2/apache2.conf

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

Include /etc/phpmyadmin/apache.conf

Then restart apache

/etc/init.d/apache2 restart