首页 > 运营 > 软件工具 > 正文

phpMyAdmin配置文件中的密文 blowfish_secret 过于短

2022-07-19 11:53:49
字体:
来源:转载
供稿:网友
  在phpMyAdmin页面上报错配置文件中的密文(blowfish_secret)太短
 
  查看下配置文件more config.inc.php
  /**
   * This is needed for cookie based authentication to encrypt password in
   * cookie. Needs to be 32 chars long.
   */
  $cfg['blowfish_secret'] = 'abcdefghijklmnopqrstuvwxyzabcdefgh'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
  因为我把$cfg['Servers'][$i]['auth_type'] 参数从config改为了cookie,我觉得这样更方便,但是上面的参数要求cookie模式必须加长参数的值,默认是"xampp",显然不够32位,随便设置一个够32位即可。

(编辑:错新网)

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表