Page MenuHomePhabricator

eAccelerator Installation detection
Closed, InvalidPublic

Description

Author: Laibeus

Description:
during installation, eAccelerator is not getting detected correctly.

What I do is I open the /config/index.php
and change this line:
$conf->eaccel = function_exists( 'eaccelerator_get' );

to:
$conf->eaccel = function_exists( 'eaccelerator_info' );

And the installer will detect eAccel fine.


Version: 1.9.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz8885

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8885.
bzimport added a subscriber: Unknown Object (MLST).

Laibeus wrote:

the patched file

attachment is the patched file with the changes noted earlier.

Attached:

robchur wrote:

Chances are if it's being detected wrong, then it's not being used right, either.

if ea_get() function does not exist, there's no need for mediawiki to know anything about ea or use ea in any other way apart from implicit bytecode caching.

mediawiki uses object cache functions of APC/ea/... for internal objects, if _get functions exist.

Laibeus wrote:

ahh I see. Thanks for the info!