Failed to generate random CSRF token! (phpmyadmin 4.6.4)

后端 未结 3 580
栀梦
栀梦 2020-12-19 22:46

I installed newest versions of MySQL, IIS (on windows 10) and PHPMyAdmin.

But PHPMyAdmin 4.6.4 returns an error:

Failed to generate random CSR

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 23:21

    I will write here, maybe it will be useful to someone. I have a similar problem but with mysql 8 on debian 9 and sometimes I get an error token. This kind of stupid solution works for me: I change the line in php.ini:

    session.save_path = "/ var / lib / php / sessions"
    

    For anything, later I run:

    sudo service apache2 restart
    

    And once again I change the exchange line above to the correct one and reset again and I can log in to phpmyadmin ...

提交回复
热议问题