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

  • Posted September 13, 2013

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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thank you all. I finally switch to PHP 5.5 + memcache and everything seems to be going quite well. <br> <br>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… <br>

@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.

(from duplicate post): <b>“the objective is to have good website with less load time possible”</b> <br> <br>Then, you’ll wanna check out: <br> <br>1.) <a href=“”>Proxy caching WordPress with Nginx</a>; <br> <br>2.) <a href=“”>The Importance of Caching WordPress</a>; <br> <br>3.) <a href=“”>Checklist For Perfect WordPress-Nginx Setup</a>; <br> <br>4.) <a href=“”>Ludicrous Speed: WordPress Caching with Redis</a>; <br> <br>5.) <a href=“”>WordPress NGINX Rewrite Rules</a>; <br> <br>6.) <a href=“”>How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04 | DigitalOcean</a>; <br> <br>7.) <a href=“”>10 Million hits a day with WordPress using a $15 server</a>.

Thanks Kamal Nasser, I’ll try this option but is there any particular reason for that?

I recommend upgrading to PHP 5.5 and using memcached for caching user data and Zend’s OPCache of opcode caching.

Thanks Nemanja Andrejevic for your answer. <br> <br>So this says, If I want to upgrade to PHP Version 5.5.3-1 I should forget about APC? <br> <br>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? <br> <br>Regards <br> <br>

<a href=“”>PHP accelerators | Wikipedia</a>