Page MenuHomePhabricator

Installer should not default to CACHE_NONE if CACHE_ACCEL is supported
Closed, ResolvedPublic

Description

Installing on a host with APC enabled.

MW installer gave me three choices for cache - CACHE_NONE, CACHE_MEMCACHE and CACHE_ACCEL, which is good. However CACHE_NONE was selected as the default. That seems wrong. Default should be CACHE_ACCEL imo.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:32 AM
bzimport set Reference to bz47162.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle renamed this task from Installer defaults to suggesting CACHE_NONE instead of CACHE_ACCEL to Installer should not default to CACHE_NONE if CACHE_ACCEL is supported.Jan 8 2015, 12:55 PM
Krinkle updated the task description. (Show Details)
Krinkle set Security to None.
Krinkle removed a subscriber: Unknown Object (MLST).

Change 248560 had a related patch set uploaded (by saper):
installer should set CACHE_ACCEL as the default if available

https://gerrit.wikimedia.org/r/248560

Change 248560 merged by jenkins-bot:
installer: Choose CACHE_ACCEL as the default if available

https://gerrit.wikimedia.org/r/248560

So in practice this makes CACHE_ACCEL the default on PHP 5.5+, right?

So in practice this makes CACHE_ACCEL the default on PHP 5.5+, right?

If you have the php5-apcu extension installed, yes.

Legoktm assigned this task to saper.