[solved] APC -> Litespeed - Mediawiki

Discussion in 'General' started by FrankJ, Feb 21, 2014.

  1. FrankJ

    FrankJ New Member

    We've had to move servers, which do not have APC. But our old code for our Mediawiki's expects APC. We want to move away from APC and over to Litespeed (which we have running on our server).

    How would we go about setting mediawiki up and replacing APC? The guides I have found didn't help so much on the subject.

    I get the following error:

    CACHE_ACCEL requested but no suitable object cache is present. You may want to install APC.

    Backtrace:

    #0 [internal function]: ObjectCache::newAccelerator(Array)
    #1 /home/eogamer/base_wiki/includes/objectcache/ObjectCache.php(62): call_user_func('ObjectCache::ne...', Array)
    #2 /home/eogamer/base_wiki/includes/objectcache/ObjectCache.php(50): ObjectCache::newFromParams(Array)
    #3 /home/eogamer/base_wiki/includes/objectcache/ObjectCache.php(23): ObjectCache::newFromId(3)
    #4 /home/eogamer/base_wiki/includes/GlobalFunctions.php(3600): ObjectCache::getInstance(3)
    #5 /home/eogamer/base_wiki/includes/Setup.php(402): wfGetMainCache()
    #6 /home/eogamer/base_wiki/includes/WebStart.php(157): require_once('/home/eogamer/b...')
    #7 /home/eogamer/base_wiki/index.php(53): require('/home/eogamer/b...')
    #8 {main}
    Last edited: Feb 21, 2014
  2. NiteWave

    NiteWave Administrator

    recompile lsphp5 to include APC or XCache module. APC is part of php not part of apache. litespeed only replace apache.
    FrankJ likes this.
  3. FrankJ

    FrankJ New Member

    Thank you, that fixed the issue. :)

Share This Page