Can't Get PHPMyAdmin to recognize configuration file after update(Keep getting blowfish_secret too short error) -
i updated phpmyadmin via command line (i added ppa manually). keep getting error says "the secret passphrase in configuration (blowfish_secret) short. have created own config.inc.php file in /etc/phpmyadmin using command
sudo cp config.sample.inc.php config.inc.php
in file (my config.inc.php) have set
$cfg['blowfish_secret'] = 'we(g|]=vpxy}uddlc8[sc1j8y$yeleu]7#_#*1fdas;doifje';
and restarted server
sudo service apache2 restart
i restarted mysql server with
sudo service mysql restart
i still getting error telling me blowfish_secret key short. (yes, have tried setting key 32 characters well. did not work either) have refreshed page, cleared cache. tried setting permissions 7
sudo chmod -r 777 phpmyadmin
(just see if work. don't kill me being desperate xd) still, no avail. ideas?
as turns out, had edit
/var/lib/phpmyadmin/blowfish_secret.inc.php
just put 32 (or more) random characters between single quotes, so
$cfg['blowfish_secret'] = 'gglkgmgpsp]9_[b2lxr5*a$bv4xo1lm+guju3k(p$9z^9';
note: didn't think need spell 1 out, random string can not contain single quote....
Comments
Post a Comment