Difference between revisions of "X-Cart:Using Memcached with X-Cart"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with "{{XC_4.7}} Stating with X-Cart version 4.7.7, it is possible to use [https://memcached.org/ Memcahed] # Install Memcached server (https://memcached.org/) # Launch Memcached se...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{XC_4.7}}
 
{{XC_4.7}}
Stating with X-Cart version 4.7.7, it is possible to use [https://memcached.org/ Memcahed]
+
Starting with X-Cart version 4.7.7, it is possible to use [https://memcached.org/ Memcahed] with X-Cart:
 
# Install Memcached server (https://memcached.org/)
 
# Install Memcached server (https://memcached.org/)
 
# Launch Memcached server and enable auto-start for it.
 
# Launch Memcached server and enable auto-start for it.

Latest revision as of 01:14, 11 October 2016

X-Cart 4.7or above

Starting with X-Cart version 4.7.7, it is possible to use Memcahed with X-Cart:

  1. Install Memcached server (https://memcached.org/)
  2. Launch Memcached server and enable auto-start for it.
  3. Install Memcache extension (http://php.net/manual/en/memcache.installation.php).
  4. In either /etc/php/conf.d/memcache.ini or /etc/php/php.ini, uncomment the following line:
    extension=memcache.so
  5. Restart the web server.
  6. Review phpinfo to check that Memcache module has been added, with the memcache.default_port number 11211.
  7. Remove the comment from config.php:
-#define('USE_MEMCACHE_DATA_CACHE', true);
+define('USE_MEMCACHE_DATA_CACHE', true);