Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55760

Summary: phpmyadmin-2.5.7, phppgadmin-3.4 and /etc/php*admin/
Product: Gentoo Linux Reporter: Thomas R. (TRauMa) <gentoo-bugs>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Severity: minor CC:, flash3001, mholzer, pgsql-bugs, web-apps
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---

Description Thomas R. (TRauMa) 2004-07-01 00:58:59 UTC
Hi there,

after trying out the new webapp install system, I noticed that phpmyadmin doesn't use /etc/phpmyadmin/ in libraries/common.lib.php line 74, while phppgadmin gets patched to use it's pendant /etc/phppgadmin/

I installed them both with USE="-vhosts", so phppgadmins behaviour makes more sense IMHO.
Comment 1 Thomas R. (TRauMa) 2004-07-01 01:24:38 UTC
OK, read the fine GLEP, which says:

- both apps should put their config file to
- The config file will be used as a copy template for webapp-config-installs

So both apps are wrong.

While that makes sense in the USE="vhosts" case, I don't think it's very usefull for -vhosts, where it would be better to symlink to the configuration file directly. But that is a webapp/GLEP issue, nothing to do with phpmyadmin/phppgadmin.

Comment 2 Tom Payne (RETIRED) gentoo-dev 2004-07-09 12:32:46 UTC

As you are the creator of the webapps system, please advise me what the best course of action for phpMyAdmin is.


Comment 3 Jakub Moc (RETIRED) gentoo-dev 2004-12-27 16:46:46 UTC
OK, read the fine PHP manual (safe mode section). No, I really won
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2004-12-27 16:46:46 UTC
OK, read the fine PHP manual (safe mode section). No, I really won´t put /etc into open_basedir and hence phppgadmin fails without manual adjusting - this idea of putting config files for webapps into /etc (and the fine GLEP) is horrendously wrong. :-/
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-04-13 09:08:29 UTC
*** Bug 78090 has been marked as a duplicate of this bug. ***
Comment 6 Thomas R. (TRauMa) 2005-04-28 19:15:08 UTC
OK, so what is happening now with the fine GLEP? :-) I will ask every half year until something happens! ;-)
Comment 7 Stuart Herbert (RETIRED) gentoo-dev 2005-05-30 03:02:46 UTC
The GLEP is wrong.  The config files for these packages should be installed 
into the same directory as the app itself (to allow for multiple installs of 
the same app).

I'll take a look at both apps when I can to see what changes need making.

Best regards,
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2005-07-06 11:33:05 UTC
phpmyadmin appears to be fine. Will look into phppgadmin
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2005-07-06 12:18:26 UTC
phppgadmin fixed in cvs
Comment 10 Thomas R. (TRauMa) 2006-01-21 10:41:30 UTC
mass cleaning my bugs