Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78090 - phpmyadmin-2.6.1_rc1: /etc/phpmyadmin/config.inc.php gone
Summary: phpmyadmin-2.6.1_rc1: /etc/phpmyadmin/config.inc.php gone
Status: RESOLVED DUPLICATE of bug 55760
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 07:07 UTC by tuXXer
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tuXXer 2005-01-15 07:07:43 UTC
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).
Comment 1 Tom Payne (RETIRED) gentoo-dev 2005-01-15 12:28:02 UTC
With the new webapp eclass the file is now in
/var/www/localhost/htdocs/phpmyadmin/config.inc.php
Comment 2 tuXXer 2005-01-15 12:39:52 UTC
And that's the problem...

<quote>
.../usr/share/webapps/phpmyadmin/2.6.1_rc1/htdocs/config.inc.php...
</quote>

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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-03-02 10:00:50 UTC
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. 
Comment 4 tuXXer 2005-03-07 07:00:49 UTC
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.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-04-13 09:08:29 UTC
Let
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-04-13 09:08:29 UTC
Let´s track this in one bug. 

*** This bug has been marked as a duplicate of 55760 ***