> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Magento with Memcached unix socket

1. Enable Memcached server from cPanel, for more information, please refer to the following [article](https://clientarea.mochahost.com/knowledgebase/848)

2. Login to your cPanel

3. Open File Manager and go to Magento directory

4. Edit file **app/etc/local.xml** and add memcached as cache backend:

\`\
 ...

   \
      memcached\
      database\
      Memcached

     

       

         \
            unix:///home/YourUsername/memcached.sock\
            0\
            0

         

       

     

     

       

         \
            unix:///home/YourUsername/memcached.sock\
            0\
            0

         

       

     

   \
 ...\
\`
