查看下配置文件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位即可。