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?
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.
I'm using xcache as well and haven't had any problems with eiter 2.3 .x or 2.4
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.
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!
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.
ok my php info says
Thread Safety enabled
and when I goto...
... 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...
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.