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