Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been reading a while the web trying to find out about opcode caches for fcgid. As I understand so far APC is not a good solution for fcgid, since APC with fcgid caches only per process and that is inefficient. (ref:

So I guess that leaves eaccelerator and xcache. Xcache seems to talk explicitly about fcgid so I am leaning towards that. Can someone confirm this?

share|improve this question
Installed APC and it seems to be working fine. Also, it seems the cache is not per process, and I am seeing > 90% utilization. Good Stuff – giorgio79 Apr 24 '12 at 9:52
If you are using fcgid then there are multiple caches of the same script, which partially defeats the purpose of using an opcode cache and wastes memory. You should be using php-fpm and/or Apache 2.4 to properly use an opcode cache. – Gaia Feb 11 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.