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

Bug 137326

Summary: phpMyAdmin-2.8.0.4 script/setup.php cannot save config
Product: Gentoo Linux Reporter: Stefan Behte (RETIRED) <craig>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.