Ubuntu

From PmaWiki

(Redirected from ubuntu)
Jump to: navigation, search

You get a 404 "not found" error when you installed phpMyAdmin using apt-get on Ubuntu and point your browser at http://example.org/phpmyadmin/ or http://localhost/phpmyadmin/ .

This happens when you didn't check the 'Apache 2' box during installation. To re-do the webserver installation, run the following:

 sudo dpkg-reconfigure -plow phpmyadmin

then select 'Apache 2' on the question of which webserver to configure. It should now work.

Just in the (rare) case that this still doesn't work, you can do the following to include the phpMyadmin-shipped Apache configuration into Apache:

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