Bizzard's Hackshop
Always under construction!

phpMyAdmin being the most used tool for managing MySQL databases comes as a package with Debian and works out of the box with “apt-get” along with apache, php and mysql.

But, when switching over to suPHP from the apache mod_php plugin, even if every other things work, phpMyAdmin fails.

The error looks like:

File does not exist: /usr/share/phpmyadmin/navigation.php<, referer: http://localhost/phpmyadmin/

This is because its configured to work only for mod_php. The configuration file is located at “/etc/phpmyadmin/apache2.conf”, which is symbolically linked at “/etc/apache2/conf.d/phpmyadmin.conf”

The easier option is to enable “mod_php” by typing in “a2enmod php5” as described at Sysadmin World.

No Comments |