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
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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 php.in
    session.save_handler = memcached
    session.save_path = "127.0.0.1:11211"

    Make configuration in Magento2 instance.

    open app/etc/env.php

    Change session path to

    'session' =>
    array (
    'save' => 'memcached',
    'save_path' => '127.0.0.1:11211'
    ),

    Restart the apache2 and memcached.

    sudo service apache2 restart
    sudo service memcached restart.

    For more details click on the below link.
    http://gotechnies.com/install-memcache-setup-magento2/

Bookmarks

Posting Permissions

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