More Than Just Web Design | INTERNET ENGINEERING | APPLICATION | DESIGN
Using SuPHP with PHPMyAdmin
Enabling SuPHP under Apache 2.4 breaks PHPMyAdmin but there is a handy work around
SuPHP adds its own handler for PHP files, which causes a problem with the default configuration of PHPmyAdmin. Attempts to use it result in a file download being offered. The solution is to alter/etc/phpmyadmin/apache.conf and add the default handlers added by mod_php5:
<FilesMatch ".+\.ph(p?|t|tml)$"> SetHandler application/x-httpd-php </FilesMatch>
This goes with the <IfModule mod_php5.c> conditional.