Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218296 - dev-db/phpmyadmin: config.inc.php location
Summary: dev-db/phpmyadmin: config.inc.php location
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 17:38 UTC by Imre Péntek
Modified: 2008-05-02 20:01 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 Imre Péntek 2008-04-18 17:38:15 UTC
Hello, I was unable to find out where my config.inc.php should go. Maybe you should patch phpmyadmin to generate the config.inc.php downloaded file to state the proper directory to place it. Maybe you should also patch /usr/share/webapps/phpmyadmin/2.11.5.1/htdocs/config.inc.php to contain this info.
As I figured out webapp-config --list-installs command prints the exact path, so maybe this info should be included if this path is subject to change.

Thank you.


Reproducible: Always
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2008-05-02 20:01:52 UTC
(In reply to comment #0)
> Hello, I was unable to find out where my config.inc.php should go. Maybe you
> should patch phpmyadmin to generate the config.inc.php downloaded file to state
> the proper directory to place it. 

Hm? I don't follow, sorry.

When using webapp-config to install the webapp, this is the info that will be displayed to you:

a) Create config.inc.php. You can use the web-based installer:

   mkdir ${MY_INSTALLDIR}/config
   chown ${VHOST_SERVER_UID}:${VHOST_SERVER_UID} ${MY_INSTALLDIR}/config

   then go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/scripts/setup.php

   once you've saved the configuration:

   cp ${MY_INSTALLDIR}/config/config.inc.php ${MY_INSTALLDIR}/config.inc.php
   rm -rf ${MY_INSTALLDIR}/config

The variables will be replaced with the correct paths for your installation. The commands given are precise and work for me. What else do you need?

Please reopen with detailed information about the additional information that should be added to the postinstall instructions.