On 19/09/2007, Mohamed Magdy mohamed.m.k@gmail.com wrote:
config/index.php wasn't detecting eAccelerator (svn,ea svn,5.2.3) until I changed
$conf->eaccel = function_exists( 'eaccelerator_get' );
to
$conf->eaccel = function_exists( 'eaccelerator_info' );
Is it possible to change it on svn as well?
Probably not, no; MediaWiki isn't looking for eAccelerator in its own right (the bytecode caching functionality of such modules operates at a lower level, and scripts don't need to worry about it), but the capability for eAccelerator to be used to store data in an object cache, similar to memcached, but on a smaller (i.e. single application server) scale.
If eaccelerator_get() isn't available, then things are going to break or otherwise not function if MediaWiki starts attempting to use it to read the object cache, hence the check here is accurate.
Rob Church