Can someone explain how to configure Magento 2 to use Memcached?
Printable View
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/