Which cache is advise to use for PHP-FPM?
Took VPS (1CPU+1Gb+SSD on Debian 7) under a couple of projects. Put NGINX + PHP-FPM + MySQL. There will be no more. Tell me what the casher is better to use in this mapping? xCache, APC, eAccelerator? And whether memchached even further to put?
4 answers
What are you going to cache?
OPCache running in conjunction with PHP 5.5?
how many Checherov, so many opinions :)
APC — it is more stable than XCache.
When we moved to 5.3, and 5.3 under APC was not there, then put XCache and faced with memory leaks. The memory for the process php-fpm was growing up as a shiver. It's probably eliminated, but the unpleasant feeling remained.
Any casher will do. All work about the same.
memcached is not necessary to set it for the other.
Find more questions by tags DebianNginxPHPPHP-FPM
But on a project like this, though there is configured Apache (backend)+Nginx(frontend). After installing xCache the pages are loaded much faster and the load on the server dropped significantly. Maybe with NGINX and not need such, so ask.
Sorry if that is not so. - Kayley.Jaco commented on October 3rd 19 at 03:26
if it works well then of course you can leave, but in many places this does not work unfortunately. - Bella.Witting commented on October 3rd 19 at 03:32