Jump to:

558 Posts in 3589 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » eAccelerator vs. xcache vs. APC

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 4670 Views
  • cardinale
    Avatar
    Community Member
    23 Posts

    eAccelerator vs. xcache vs. APC Link to this post

    Hello,
    I want to speed up my Silverstripe site. Have someone experience with eAccelerator, xcache or APC and Silverstripe. Are there any incompatible problems known with SS. Which one is our favorite?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    xCache is good. Used before, I have had some issues with xcache and emails but for the most part it works (just remember to test). Haven't used eAccelerator but I know of a couple sites using APC so you should try xcache / apc. If you want to get eAccelerator working please post your results. It would be good to know of any issues.

  • martimiz
    Avatar
    Forum Moderator
    1086 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    I'm using xcache as well and haven't had any problems with eiter 2.3 .x or 2.4

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    If you're on Windows, Windows Cache Extension for PHP "wincache" has stepped up in the last few months.

    From my initial testing of wincache on PHP 5.3, it's proven to be very stable and adds a significant performance boost to PHP applications hosted on Windows, including SilverStripe.

    Cheers,
    Sean

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    Hi I've been banging my head trying to get some acceleration on the local host. Silver stripe can be soo much slower on my local host and I would like to believe that there is something I can do about it...

    I have Windows 7 and WAMP and php 5.3.0 installed. I have tried...

    a) WinCache looks like an IIS extension so a standard workstation using wamp it will not work... is this right?

    b) APC / eAccelerator / xcache - each of these I have downloaded many different binaries (but starting with VC6 x86 ts/nts) and each time I add them to my php.ini as extenstion= or zend_extenstion= and still nothing in my phpinfo() that indicates caching...

    PHP Version 5.3.0
    Build Date   Jun 29 2009 21:23:30
    Compiler   MSVC6 (Visual C++ 6.0)
    Architecture   x86

    Any help is much appreciated!

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    Wincache isn't an IIS extension, it's a PHP extension designed to speed up PHP running on Windows. Therefore it should work on any version of PHP on Windows, including XAMPP and WAMP bundled versions. Just make sure you use the right Wincache version for the PHP version you're using. For example, if it's thread safe VC6 PHP, use Wincache thread safe VC6.

    http://www.iis.net/download/WinCacheForPHP

    Sean

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    ok my php info says

    Thread Safety   enabled

    and when I goto...
    http://sourceforge.net/projects/wincache/files/
    ... all of the downloads are "nts" I couldn't see and "ts" or thread safe versions to download...

    On the plus side now I see this I've got the right version of xcache and it is now showing in my phpinfo()... let the speedup begin...

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: eAccelerator vs. xcache vs. APC Link to this post

    Thread safe versions of PHP aren't essential, because PHP itself is not guaranteed to be "thread safe" anyway because some extensions are not fully thread safe.

    I'd recommend switching to non-thread safe if you can, because there's performance improvements when thread safety isn't checked.

    4670 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.