Skip to content
Advertisement

session_start(): Write of lock failed

i’m using memcached in php to handle sessions.

But i’m geting a session_start(): Write of lock failed.

my php configuration has

session.save_handler    memcached  
session.save_path   tcp://127.0.0.1:11211

my memcached server is running and i can telnet 127.0.0.1 11211 with success

What does this mean?

Advertisement

Answer

Looks like session.save_path shouldn’t contain ‘tcp://’.

“memcached” don’t need ‘tcp’ but “memcache” needs.

thanks for you time,

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement