In PHP 4 we used to recommend eAccelerator or APC, in that order because eAccelerator had slightly better performance.
In PHP 5 however the gap is close to non existence, even seen APC performing better with eZ Publish in some benchmarks. APC also seems to be the only actively developed php op cacher, so I would personally recommend APC.
Other arguments: APC will be part of PHP 6.0 and the article you point to mentions segmentation faults in xcache and eAccelerator.
We also used eaccelerator with ezp3x (PHP4) with great results, because of some other benchmarks that show eaccelerator performed not very good with PHP5 we used APC and Xcache in ezp 4 (PHP5)
The funny is that in other articles I read that APC had segmentation faults (and Xcache didn't)...
So I really opened this topic to have feedback of comments about php accelerators in relation with ez publish...
But now knowing that APC will be part of PHP6 I will go only with APC - the good is that we just installed APC in our last server installation!
I have no specific info about speed differences of php caches in relation to eZP, all I can say is that I have seen all (of the free ones) crash and burn on different setups, and behave extra-stable on others. It is porobably a matter of different php application, php version and compilation options, linked libraries and os...
APC is for sure the one with more traction, as there are more devs behind it, and most of them are php kernel devs. The main problem with both eAccelerator and XCache looks like the small number of developers that hack on them.
Principal Consultant International Business
Member of the Community Project Board
Cache reduces the server's pressure to calcute things(pretty simple definition right?)
especially MySQL queries, which can become numerous on a sigle page; Mix this with a few
dozen visitors on your website in a single minute who will each visit websites with
particular queries and you could easily get up to hundreds of queries per minute,That could slow your server, and caching stuff makes the charge quite lighter.
If you want to know more free PHP cache script you can check out at PHPKode.com
You must be logged in to post messages in this topic!