Difference between revisions of "X-Cart:Using Memcached with X-Cart"
(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}} | ||
− | + | 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:
- 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);