Phpmyadmin doesn’t work if session.save_handler set to memcache. as soon as I login I get
your session has expired, please login again
session.save_handler = memcache session.save_path = "tcp://localhost:11211"
I tried the latest version available from
I am having the same problem here… After I enabled memcache session handling in PHP, I can’t connect anymore to phpmyadmin. It’s due to incompatibility between phpmyadmin own session handling mechanism and memcache.
You can disable memcache session handling by putting at the top of your phpmyadmin
ini_set('session.save_path', ''); ini_set('session.save_handler', 'files');
This appears to have been a server misconfiguration issue; from the bug report on the phpMyAdmin issue tracker a reporter wrote that memcached was missing. Check that memcached is properly installed and configured. You can see the bug report at https://github.com/phpmyadmin/phpmyadmin/issues/10464
You might have to change this lines in phpmyadmin folder
Try include this line at the top of the file:
Uncomment this line (about 74):
With phpMyAdmin 4.7 and memcached it works if you add one line to libraries/common.inc
the issue at my installation was having more than one memcached server
Remember: using memcached no tcp:// using memcache use tcp:// in front of your memcached Server IP
Cannot reproduce your problem with the same settings as yours. I have memcached running and the memcache extension installed. Tested with phpMyAdmin 4.0.6 and 4.1-dev.