On Fri, Aug 28, 2009 at 3:13 PM, Platonides<[email protected]> wrote: > [email protected] wrote: >>... >> MW shows: "Couldn't find Turck MMCache, eAccelerator, APC or XCache; >> cannot use these for object caching." >> >> Yes, I did restart httpd, no joy. >> >> There are number of occurrences of this issue in the IRC channel logs, but >> unfortunately the answers are difficult to find (if there are any). >> Google wasn't all that helpful just yet, so I figure to give this a shot. >> If anyone has any ideas at all, I would much appreciate some feedback. >> Thanks in advance. > > > eAccelerator caches php bytecode to speed its execution. The scripts > don't need to do anything special about it, so if you have eAccelerator > working, it will speed up MediaWiki even if MediaWiki is not aware of it. > > MediaWiki detects eAccelerator in order to use it for caching its own > data. That's the bit that is disabled if MediaWiki can't find it. > The issue is, mediawiki detects it by checking for the existance of > eaccelerator_get(). Since it would need to call that function in order > to use it for caching, it can't use it if php doesn't recognise that > function. > What's the output of var_dump(function_exists('eaccelerator_get')); on a > single php file? > > If it works there, there's something scary for mediawiki not detecting > it. If it reports the function doesn't exist, you should probably ask to > eAccelerator guys about it. > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >
There's a bug (somewhere, too busy to look for it) about this issue. Something about eaccelerator being odd at times. I believe eaccelerator_get() is disabled by default as a result, IIRC. -Chad _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
