怎样使用 redis 作为 MediaWiki 的缓存后端: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 September 2025

  • curprev 10:1510:15, 29 September 2025Mwroot talk contribs 4,557 bytes +4,557 Created page with "== 去除 apcu == <syntaxhighlight lang="bash" line> # 如果已经使用过 apcu 作为缓存,要先去除 apcu 缓存 grep -r apc /etc/php/8.2/ # 找到 apc 相关的配置行 sudo emacs /etc/php/8.2/mods-available/apcu.ini # 注释掉对 apcu 的调用 # 进 LocalSettings.php 取消对 CACHE_ACCEL 的调用 ## Shared memory settings ## $wgMainCacheType = CACHE_ACCEL; ## $wgMemCachedServers = []; </syntaxhighlight> == 使用 redis == <syntaxhighlight lang="bash" li..."