Question

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

Subscribe
Share

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=“http://danielbachhuber.com/2010/11/29/proxy-caching-wordpress-with-nginx/”>Proxy caching WordPress with Nginx</a>; <br> <br>2.) <a href=“http://kbeezie.com/caching-wordpress/”>The Importance of Caching WordPress</a>; <br> <br>3.) <a href=“http://rtcamp.com/wordpress-nginx/tutorials/checklist/”>Checklist For Perfect WordPress-Nginx Setup</a>; <br> <br>4.) <a href=“http://eamann.com/tech/ludicrous-speed-wordpress-caching-with-redis/”>Ludicrous Speed: WordPress Caching with Redis</a>; <br> <br>5.) <a href=“http://www.farinspace.com/wordpress-nginx-rewrite-rules/”>WordPress NGINX Rewrite Rules</a>; <br> <br>6.) <a href=“https://www.digitalocean.com/community/articles/how-to-install-wordpress-nginx-php-and-varnish-on-ubuntu-12-04”>How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04 | DigitalOcean</a>; <br> <br>7.) <a href=“http://ewan.im/900/10-million-hits-a-day-with-wordpress-using-a-15-server”>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=“http://en.wikipedia.org/wiki/List_of_PHP_accelerators”>PHP accelerators | Wikipedia</a>