Xcache vs APC at a APACHE2/MYSQL/PHP already using memcache?

September 13, 2013 18.5k views
Hello experts I am currently using Memcached for database caches and I would like to know according to your experience what to choose between APC or XCACHE? And why? can I use both? Thanks for your contributions Regards Cloud Dreamer
8 Answers
Read my post on server fault regarding this
Thanks Nemanja Andrejevic for your answer.

So this says, If I want to upgrade to PHP Version 5.5.3-1 I should forget about APC?

And do you know if LAMP with PHP Version 5.5.3-1 + Memcache will be more quicker (better performance) that LAMP with PHP 5.3 + APC + Memcache?


I recommend upgrading to PHP 5.5 and using memcached for caching user data and Zend's OPCache of opcode caching.
Thanks Kamal Nasser, I'll try this option but is there any particular reason for that?
by Etel Sverdlov
Varnish is an HTTP accelerator and a useful tool for speeding up a server, especially during a times when there is high traffic to a site. It works by redirecting visitors to static pages whenever possible and only drawing on the server itself if there is a need for an active process. This tutorial covers installing wordpress on a LEMP stack (with nginx instead of apache), and then installing varnish.
@Jacques: You should always use the latest stable versions of every software you use (because of bugfixes and security updates). Zend OPCache is integrated into php 5.5 if I recall correctly and it's a better APC alternative.
Thank you all. I finally switch to PHP 5.5 + memcache and everything seems to be going quite well.

By the way, regarding Pablo of vDevices reply, I am not using WordPress, I am using my own in-house PHP scripts set up from scratch and continually improving to be maybe share one day....
Have another answer? Share your knowledge.