Trying to get REDIS running
This commit is contained in:
@ -126,8 +126,13 @@ cat >> "$LSETTINGS" <<EOF
|
||||
\$wgDefaultSkin = "vector";
|
||||
|
||||
# Enable Redis caching
|
||||
\$wgObjectCaches['redis'] = [
|
||||
\ 'class' => 'RedisBagOStuff',
|
||||
\ 'servers' => ['127.0.0.1:6379'],
|
||||
\ 'persistent' => false,
|
||||
\];
|
||||
\$wgMainCacheType = 'redis';
|
||||
\$wgMemCachedServers = ["127.0.0.1:6379"];
|
||||
\$wgSessionCacheType = 'redis';
|
||||
|
||||
EOF
|
||||
|
||||
|
Reference in New Issue
Block a user