Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

Connecting Magento 2 to memcached

  1. #1

  2. #2
    New member
    Join Date
    Apr 2016
    Thanked 0 Times in 0 Posts


    Quote Originally Posted by Elfstone View Post
    Can someone explain how to configure Magento 2 to use Memcached?
    Hi I have done Magento2 setup with memcached.

    There are few steps for it.

    Install memcached.
    apt-get install memcached

    Change the memory size to 1024

    nano /etc/memcached.conf
    -m 1024

    change in
    session.save_handler = memcached
    session.save_path = ""

    Make configuration in Magento2 instance.

    open app/etc/env.php

    Change session path to

    'session' =>
    array (
    'save' => 'memcached',
    'save_path' => ''

    Restart the apache2 and memcached.

    sudo service apache2 restart
    sudo service memcached restart.

    For more details click on the below link.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts