apt-get install phpmyadmin on debian doesn't install /etc/phpmyadmin/apache.conf

Posted by Christian Nikkanen on Server Fault See other posts from Server Fault or by Christian Nikkanen
Published on 2012-11-14T07:48:27Z Indexed on 2012/11/16 17:02 UTC
Read the original article Hit count: 435

Filed under:
|
|

I'm trying to install phpmyadmin on my webserver, using this guide:

http://www.howtoforge.com/ubuntu_debian_lamp_server

I did that once, and it worked like a dream, but I hated the looks of phpmyadmin (maybe the oldest layout ever) and decided to delete it, and didn't know that deleting is done with apt-get remove phpmyadmin and did in phpmyadmin directory rm * and thought that it's done. However, as I can't find the debian build of phpmyadmin anywhere, I want to install it again, but when I add Include /etc/phpmyadmin/apache.conf to /etc/apache2/apache2.conf, and restart apache, it give's me this error:

apache2: Syntax error on line 73 of /etc/apache2/apache2.conf: Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
 failed!

No matter how I try, I always get this error, and phpmyadmin isn't there.

© Server Fault or respective owner

Related posts about apache2

Related posts about debian