Enable memcached on Magento 2 in Plesk Server

To install memcached, run

Enable memcached php module

This is for PHP 7.3, change the path to pecl for your version of PHP.

Activate memcached

Update php handler

Restart php-fpm

Install memcached deamon

Restart memcached

Verify it is working with netstat

Activate memcached in Magento 2

Edit file

Find

Replace with

If you get error like

edit your php.ini and set “session.save_handler” from “files” to “memcached”.

php session memcached

See if memcached working

To see if memcached is caching, you can use

memcached telnet
To exit, type

See Magento, Memcached

Leave a Reply

Your email address will not be published. Required fields are marked *