Well, updating to phpmyadmin 2.6.1_rc. Before 2.6.1_rc1 there was a /etc/phpmyadmin/config.inc.php file. Now, only the config file is under /usr/share/webapps/phpmyadmin/2.6.1_rc1/htdocs/config.inc.php. I think it is useful to hava a symlink in etc or the physical file (e.g. phppgadmin patches the files to include the config files from /etc/phppgadmin directly).
With the new webapp eclass the file is now in
And that's the problem...
The config file would only be stored under /var/www/localhost/htdocs/phpmyadmin/config.inc.php, when the use flag vhosts isn't setted.
IMHO it is a good idea to place as much config files as possible into /etc. Otherwise everybody needs to search every config file, because all config files are at several points at the system. I think config.inc.php should be copied under /etc, when vhosts isn't setted. But this only me opinion.
The whole thing were no problem, when phpmyadmin and apache would be installed FHS conform under /srv.
tuXXer: No, it is not a good idea. See my comment in Bug 55760 regarding the PHP safe mode problem with placing the files into /etc.
IMHO every webapp lying in /var/www/localhost/htdocs should behave equal. That means the configuration should either be in /var/www/localhost/htdocs or /etc/. In my opinion it isn't a good idea to spread the configuration files of every application in the whole system. All configuration should stay together. In this case a symlink in etc should do the work. And this didn't effect PHP safe mode, because the configuration files stays in htdocs directory. But I would place the whole PhpMyAdmin files into srv but this is purely a matter of taste.
Let´s track this in one bug.
*** This bug has been marked as a duplicate of 55760 ***