Yedidyah Bar-David
Mon, 10 Sep 2007 12:58:05 -0700
2007/9/10, Shachar Shemesh <[EMAIL PROTECTED]>: > Hi all, > > I have a strange problem with Apache on a new server installation. I > installed apache2, phpmyadmin and mod-php5 from debs on Debian Etch > (AMD64 version, if it matters). > > When I browse to http://machine/phpmyadmin/index.php, everything works. > I get the phpmyadmin interface and am offered to log in. Same goes if I > place a php file in another directory. If, however, I browse to > http://machine/phpmyadmin, I get a dialog offering me to download a > file. The content of the file is the actual content of index.php inside > the phpmyadmin directory. In other words, in some cases (I'm not sure > which), the index.php gets downloaded instead of executed. > > I tried to place an index.php in the root of the documentroot, but it > never got downloaded, even if I did not refer to it by name. > > Anyone has any idea how to solve this problem? Do you have in httpd.conf or around DirectoryIndex index.php or similar? Seems to be so to me in etch, in /etc/apache2/mods-enabled/dir.conf , but you might have messed this somehow. -- Didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]