Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
Knowledgebase: Installation Help
How do I enable APC, Memcached, Redis or xCache?
Posted by Al Brookbanks on 25 September 2015 11:41 AM

CubeCart is compatible with the following cache systems and it will attempt to enable any that it detects.

CacheVersion 5Version 6
APC  ✓  ✓
"File"  ✓  ✓
Memecache    ✓
Memecached    ✓
XCache  ✓  ✓
Redis  ✓  ✓

To force a specific cache please add (or edit) the following line in your includes/global.inc.php file.

$glob['cache'] = 'file';

This value can be 'apc', 'file', 'memcache', 'memcached', 'xcache' or 'redis'.

If in doubt please set the value to 'file' which will be compatible with all server configurations.


Additional Configuartion Parameters
The following additional parameters can be added to the global.inc.php file.

Redis:

$glob['redis_parameters'] = array();
$glob['redis_options'] = array();

Memcached:

$glob['memcached_servers'] = array();

Memcache:

$glob['memcache_host'] = '';
$glob['memcache_port'] = '';