skip to Main Content

While i try to login to phpmyadmin i get this error
”’phpMyAdmin – Error
Failed to store CSRF token in session! Probably sessions are not working properly.”’

I searched here in stackoverflow without finding a working result.

My system is a ubuntu 18 with apache server and php7.4

What i’ve tried:
change path to /tmp
give more permissions to the folder
reinstall phpmyadmin
deleted stored sessions
cleared my browsercache
used other browser (Edge and Firefox)
uses Chrome in anonymous
changed my php.ini multiple times and different ways

What else is left i can do ? Reinstall the whole system ?

Thank you all.

Update
changed my session Folder to /tmp. It is writable and listed in php.ini and displayed in php_info().

3

Answers


  1. I had this problem, so I had to install xampp and used phpmyadmin, which was in xampp

    Login or Signup to reply.
  2. I have the same problem but it can be solved if you are using PHP as FastCGI with IIS by just using the Non-Thread Safe (NTS) versions of PHP.

    Login or Signup to reply.
  3. Salam,
    I had this issue on Windows server with IIS.
    and the issue was resolved by setting access permission for IUSER to C:WindowsTemp folderIUSER access permission

    I had set permission to this folder because the path of variable session.save_path in php.ini is set to that path:
    session.save_path in php.ini

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search