Magento 1.8 – Fix Memcache and Sessions Not Working

magento-1.8memcachedsessions

I used memcache for sessions but can not login to both of frontend and backend in mg1810

before this, I did use redis for sessions and now want to use memcache instead of redis

Also did FLUSHALL in redis-cli, memcache service is running and local.xml set to …

<config>
<global>

    <session_save><![CDATA[memcache]]></session_save>
    <session_save_path><![CDATA[tcp://127.0.0.1:11211?persistent=1&weight=2&timeout=10&retry_interval=10]]></session_save_path>

</global>
</config>

Best Answer

Magento uses the memcached php extension to communicate with Memcache, but won't warn you if you don't have it.

Related Topic