X-Cart:Using Memcached with X-Cart
X-Cart 4.7or above
Stating with X-Cart version 4.7.7, it is possible to use Memcahed
- Install Memcached server (https://memcached.org/)
- Launch Memcached server and enable auto-start for it.
- Install Memcache extension (http://php.net/manual/en/memcache.installation.php).
- In either /etc/php/conf.d/memcache.ini or /etc/php/php.ini, uncomment the following line:
extension=memcache.so - Restart the web server.
- Review phpinfo to check that Memcache module has been added, with the memcache.default_port number 11211.
- Remove the comment from config.php:
-#define('USE_MEMCACHE_DATA_CACHE', true); +define('USE_MEMCACHE_DATA_CACHE', true);