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
I had this problem, so I had to install xampp and used phpmyadmin, which was in xampp
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.
Salam,
I had this issue on Windows server with IIS.
and the issue was resolved by setting access permission for
IUSER
toC:WindowsTemp
folderI had set permission to this folder because the path of variable
session.save_path
inphp.ini
is set to that path: