PDA

View Full Version : PHP Cache/Accelerator: APC or XCache


pulsorock
Tue 26th Jun '07, 12:25pm
Hello!

I'm setting a new webserver for a client running CentOS 5. The site that will be hosted there is going to have a lot of traffic (will run vB and Joomla too). So I was thinking to use a PHP Cache/Accelerator for better PHP performance. I remembered reading about APC here several months ago, but searched about it and found about XCache. So before I install any of them, which one of these is the better option now?


Thanks!

jason|xoxide
Tue 26th Jun '07, 2:03pm
You're never going to get a firm answer on that question because everyone has their own opinion. I can say that the developer of XCache posts here on occasion (member 'phpxcache') and seems to take a definite interest in XCache working well with vBulletin (he's even written an extension for vB so that it can store the datastore in the XCache Var cache).

kerplunk
Tue 26th Jun '07, 7:16pm
Both work very well. They are practically the same. XCache seems to be more popular around these parts as of late, so you may want to try that out first and see what you think of it.

eva2000
Wed 27th Jun '07, 8:11am
in order of preference for me

1. xcache
2. APC cache
3. eaccelerator

try xcache first if it works that keep it .. if not try xcache support http://forum.lighttpd.net/forum/4

if no go, try APC Cache next and so on :)