contact(a)64north.net 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.