Phpmyadmin Bottom Waring: “The configuration file now needs a secret passphrase (blowfish_secret). ”

Reason:

PhpMyAdmin needs this secret to encrypt cookies based on security, so it always prompts you

In the phpMyAdmin directory, mine is/usr/local/nginx/phpMyAdmin

Implementation

sudo cp config.sample.inc.php config.inc.php     //Copy and rename
sudo chown www-data: config.inc.php //Change the user and group that will be nginx

Local arbitrary generation of a section of SSL code

openssl rand -base64 32

Back

LhmTZbV1HV9t0qRtU6/M0rAZ9fAzGKkNc8XRzSjwxH4=

Copy the random password returned, then open config. Inc. PHP and search $CFG [‘blowfish]_ Paste the copied password to the back of this configuration

$cfg['blowfish_secret'] = 'LhmTZbV1HV9t0qRtU6/M0rAZ9fAzGKkNc8XRzSjwxH4=';

 

Similar Posts: