Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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: http://stackoverflow.com/questions/598444/how-to-share-apc-cache-between-several-php-processes-when-running-under-fastcgi)

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

 
discard

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

Browse other questions tagged or ask your own question.