markus
Verified User
There have been changes in the way config files are handled.
Notes extracted from the Release Announcement:
* Configuration files coming from before phpMyAdmin 2.3.0 (released on 2002-08-11) are no longer supported.
* You can still use your config.inc.php file, but this file can be simplified, containing only the parameters you want to change from their corresponding default value in config.default.php.
_________________
Rather than creating a config.inc.php file with the changes, I decided to modify config.default.php and upgraded with the following script:
Be aware, this one is flagged as beta
Notes extracted from the Release Announcement:
* Configuration files coming from before phpMyAdmin 2.3.0 (released on 2002-08-11) are no longer supported.
* You can still use your config.inc.php file, but this file can be simplified, containing only the parameters you want to change from their corresponding default value in config.default.php.
_________________
Rather than creating a config.inc.php file with the changes, I decided to modify config.default.php and upgraded with the following script:
Code:
#!/bin/bash
cd /var/www/html
VERSION=2.7.0-beta1
wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-${VERSION}.tar.gz
tar xzf phpMyAdmin-${VERSION}.tar.gz
rm -f phpMyAdmin phpMyAdmin-${VERSION}.tar.gz
find phpMyAdmin-$VERSION -type f -exec chmod 640 {} \;
find phpMyAdmin-$VERSION -type d -exec chmod 750 {} \;
chown -R apache:apache phpMyAdmin-$VERSION
rm -f phpMyAdmin
ln -s phpMyAdmin-$VERSION phpMyAdmin
perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpMyAdmin/config.default.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpMyAdmin/config.default.php
exit 0
Be aware, this one is flagged as beta