views:

143

answers:

2

Hello, I have apache+mysql+phpmyadmnin under Gentoo.

phpmyadmin-3.2.2

It worked fine before, but now, when I'm loading http://localhost/phpmyadmin I get a list of flies in phpmyadmin-directory, and when I chose index.php, I get it's own code.

What I did wrong?

A: 

Is mod_php5 installed? If so, do you have the php handler set up to handle .php files?

<IfModule mod_php5.c>
  AddType application/x-httpd-php .php .phtml .php4 .php3
  AddType application/x-httpd-php-source .phps
</IfModule>

If you are not using mod_php5, do you use any form of CGI? Do the .php files have execute permissions?

LiraNuna
I don't use mod_php5 and don't use CGI.
Ockonal
all files from /var/www/localhost/htdocs/phpmyadmin has admin as owner O_o
Ockonal
"I don't use mod_php5 and don't use CGI." -- Then how do you expect to run **php**MyAdmin?
LiraNuna
A: 
Freddy
Could you post all content of that file? Here is mine: http://dpaste.com/102960/ .There aren't any parts connected with phpmyadmin.
Ockonal
I posted the relevant part. I think your apache configuration probably was wiped out by an 'env-update'.
Freddy