I used memcached for sessions, but when I click on the website, got error for session_start

error is :

PHP Fatal error:  session_start(): Failed to initialize storage module: memcache (path: /var/lib/php/session) in /var/www/html/mydomain.com/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 125

This is my local.xml


also this is my memcache result

[root@www ~]# ps ax | grep memcache
19842 ?        Ssl    0:00 memcached -d -p 11211 -u memcached -m 64 -c 5024 -P /var/run/memcached/memcached.pid -l
20734 pts/0    S+     0:00 grep memcache

and ports

[root@www ~]# netstat -tulpn | grep :11211
tcp        0      0   *                   LISTEN      19842/memcached
udp        0      0   *                               19842/memcached

what is wrong here for memcache config ?

1 Answer 1


Check if you have the php memcache module installed and enabled (on Debian php5-memcache).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.