Home > Article > Backend Development > PhpMyAdmin configuration file now requires a phrase password modification method_PHP tutorial
The new version of PhpMyAdmin has enhanced security and requires a phrase password to be set in the configuration file. Otherwise, after entering, there will be a red warning prompt saying "The configuration file now requires a phrase password".
Solution:
1. Change
in phpMyAdmin/libraries/config.default.php$cfg['blowfish_secret'] = ''; changed to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is an arbitrary character)
2. In the phpMyAdmin directory, open config.sample.inc.php, line 18
$cfg['blowfish_secret'] = ''; changed to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is an arbitrary character)
This password is used to encrypt Cookies to avoid confusion when multiple PhpMyAdmin or sharing Cookies with other programs.
Complete the above two steps, refresh the web page, OK, the prompt "The configuration file now requires a phrase password." no longer exists!