Get the most out of your Centmin Mod LEMP stack
Become a Member

vBulletin Config to properly enable Memcached for VB4?

Discussion in 'Forum software usage' started by RoldanLT, Nov 4, 2015.

Tags:
  1. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    11:49 AM
    1.11
    10.2
    Is this code correct?
    Code:
    $config['Datastore']['class'] = 'vB_Datastore_Memcached';
    $i = 0;
    // First Server
    $i++;
    $config['Misc']['memcacheserver'][$i]        = '127.0.0.1';
    $config['Misc']['memcacheport'][$i]        = 11211;
    $config['Misc']['memcachepersistent'][$i]    = true;
    $config['Misc']['memcacheweight'][$i]        = 1;
    $config['Misc']['memcachetimeout'][$i]        = 1;
    $config['Misc']['memcacheretry_interval'][$i] = 15;
    
    Or there is more efficient way? :)