*/
class CRM_Utils_Cache_Redis implements CRM_Utils_Cache_Interface {
const DEFAULT_HOST = 'localhost';
- const DEFAULT_PORT = 11211;
+ const DEFAULT_PORT = 6379;
const DEFAULT_TIMEOUT = 3600;
const DEFAULT_PREFIX = '';
}
/**
- * Change this if you are not using the standard port for your cache server
+ * Change this if you are not using the standard port for your cache server.
+ *
+ * The standard port for Memcache & APCCache is 11211. For Redis it is 6379.
*/
if (!defined('CIVICRM_DB_CACHE_PORT')) {
define('CIVICRM_DB_CACHE_PORT', 11211 );
}
/**
- * Change this if your cache server requires a password (currently only works
+ * Change this if your cache server requires a password (currently only works
* with Redis)
*/
if (!defined('CIVICRM_DB_CACHE_PASSWORD')) {