1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

APC or eAccelerator?

Discussion in 'Server Configuration and Hosting' started by Jaxel, Aug 19, 2011.

  1. Jaxel

    Jaxel Well-Known Member

    My server doesn't seem to have APC installed yet... it does have eAccelerator...

    My question of course, should I just use eAccelerator, or should I have APC installed? From what I've been reading on StackOverflow, most people are saying that eAccelerator is faster, uses less memory, and is directly compatible with Zend Optimizer (which my server also has). But I see this thread that says Kier recommends APC... So which one should I use?

    Also, if I go with eAccelerator, I didn't see any instructions to setup XenForo's config...
     
  2. Deebs

    Deebs Well-Known Member

    One thing to bear in mind, APC is now in the PHP trunk....
     
  3. Jaxel

    Jaxel Well-Known Member

    Thats because APC is written by the PHP people... doesn't mean its the best choice...
     
  4. Deebs

    Deebs Well-Known Member

    No, but it will be in the core of 5.4 and hopefully will get the same level of development as other parts of PHP especially as it will become more prevalent.
     
  5. Jaxel

    Jaxel Well-Known Member

    Okay... next questions...

    I already have eAccelerator installed with a 16mb cache. Will I get any advantage to installing APC on top of it?
     
  6. Deebs

    Deebs Well-Known Member

    No there is no point having 2 opcode cachers.
     
  7. Gene Steinberg

    Gene Steinberg Well-Known Member

    I use eAccelerator, which is included with the cPanel EasyApache installer. They just added xCache, but some of the configuration features aren't there yet.

    But that's nice to know about PHP and APC. When is 5.4 to be out?
     
  8. mrGTB

    mrGTB Well-Known Member

    I've personally read eAccelerator is faster than APC. But don't take my word on that one, I'm no expert on the matter. This site might interest you learning more in general about the two types. http://www.sitebuddy.com/

    Also, I didn't think eAccelerator was supported yet in XenForo as a cache system to use?
     
  9. infis

    infis Well-Known Member

  10. dutchbb

    dutchbb Well-Known Member

    We have used XCache on nginx for about 8 months now and very happy with it, definitely recommend it.

    You can check the speed of our forums here. Example of server load: 0,38 0,40 0,37 | 672 Users Online (186 members and 486 guests). And this is on a dedicated Dell server bought in 2008 running vB+vBSEO.
     
  11. Gene Steinberg

    Gene Steinberg Well-Known Member

    Inasmuch as cPanel supports eAccelerator, that's an easy way to go. You don't have to mess with any configurations. They just added XCache support, but it's very very limited and requires some fiddling to make it work.
     

Share This Page