Whether it's installedphpMyAdmin On a server Ubuntu, CentOS Or etc Fedora Distribution, the message "The configuration file now needs a secret passphrase (blowfish_secret)"With red at the bottom of the index, it gives headaches. Especially when configured correctly in "/etc/phpMyAdmin/config.inc.php"
Of course, the path might vary from one configuration to another, but on 7 CentOS cu phpMyAdmin Installed via "yum"In"remi.repo", The config file will be located in" / etc / phpMyAdmin / ".
Well, let's see how we solve "The configuration file now needs a secret passphrase (blowfish_secret)", if inconfig.inc.php We have this line:
$ Cfg ['blowfish_secret'] = 'gNsWq $% #% $ #% EDFSsffsegbVp6LCJw6w'; / * YOU MUST FILL IN THIS FOR COOKIE AUTH! * /
If this line is present and we have a "key" over 32 characters, the red message in phpMyAdmin should disappear.
If this is not the case, it is a good idea to delete cookies from your browser and de-login from phpMyAdmin. At the next login, the "The configuration file now needs a secret passphrase (blowfish_secret)"He will not be present.
However, there are situations where it is present Not because of the wrong configuration the config.inc.php file, but because of Permissions of the folder where it is located.
Execute command line terminal:
Chown -R root: nginx / etc / phpMyAdmin /
Now everything should be fine. If you use Apache, instead of user: nginx, set "httpd" or how you have the user of the web process on the server.
I wrote these tips because I got better over 2 hours through the entire phpMyAdmin config, and I still do not get rid of the message: The configuration file now needs a secret passphrase (blowfish_secret). After I cleared the permissions / groups, it disappeared.