- Enable Memcached server from cPanel, for more information, please refer to the following article
- Download OpenCart Memcached database driver from
- Copy all files into the web directory.
- Change your database driver to mysqli\_memcached (config.php)
- Change your cache driver to null (index.php)
- Open mysqli\_memcached.php with cPanel file manager or via FTP/SSH (This file is located in your opencart web directory/system/library/db/mysqli\_memcached.php)
- Replace the lines below:
private $\_memcached\_hostname = 'localhost'; private $\_memcached\_port = 11211;
with:
private $\_memcached\_hostname = '/home/YourUsername/memcached.sock'; private $\_memcached\_port = 0;
