Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137326 - phpMyAdmin-2.8.0.4 script/setup.php cannot save config
Summary: phpMyAdmin-2.8.0.4 script/setup.php cannot save config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 18:35 UTC by Stefan Behte (RETIRED)
Modified: 2006-06-20 14:11 UTC (History)
0 users

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 Stefan Behte (RETIRED) gentoo-dev Security 2006-06-19 18:35:35 UTC
When you install phpmyadmin, it says:

=================================================================
POST-INSTALL INSTRUCTIONS

1. Create config.inc.php. You can use the web-based installer:
   http://localhost//phpmyadmin/scripts/setup.php

   Alternatively, use the default config file in libraries/config.default.php:

     cp /var/www/localhost/htdocs/phpmyadmin/libraries/config.default.php /var/www/localhost/htdocs/phpmyadmin/config.inc.php

===============

When running http://localhost/phpmyadmin/scripts/setup.php you cannot save it under "Configuration", because phpmyadmin/config is not writeable for the apache user. To get it working, postinstall needs to do:
mkdir /var/www/localhost/htdocs/phpmyadmin/config/
chmod o+rw /var/www/localhost/htdocs/phpmyadmin/config/
chown -R apache:apache /var/www/localhost/htdocs/phpmyadmin/config/
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2006-06-20 14:11:31 UTC
in CVS.