Using memcached for sessions

Using Redis for cache
Last updated Nov 19, 2020

Using your database or db for sessions is not recommended.

Although the files setting for sessions in Magento is great, you may want to use Memcache.

Step-by-step guide

  1. Log into the server or access your Magento files via FTP/SFTP.
  2. Open local.xml for the Magento install you want to set to Memcache sessions.
  3. Change the existing “sessions” line to this (see below code block), adjusting the IP and port appropriately.