K
K
koltykov2013-10-18 14:53:39
PHP
koltykov, 2013-10-18 14:53:39

What cache would you recommend to use for PHP-FPM?

I took VPS (1CPU+1Gb+SSD on Debian 7) for a couple of projects. Installed NGINX + PHP-FPM + MySQL. There will be nothing more. Tell me, which cacher is better to use in this bundle? xCache, APC, eAccelerator? And do I need to install memchached in addition?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nikolai Vasilchuk, 2013-10-18
@Anonym

What are you going to cache?

U
Urvin, 2013-10-18
@Urvin

OPCache bundled with PHP 5.5?

A
Alexander, 2013-10-18
@akalend

how many cachers, so many opinions :)
APC is more stable than XCache.
When we switched to 5.3, and there was no APC under 5.3 yet, we installed XCache and ran into memory leaks. Memory for php-fpm processes grew like crazy. Perhaps this has already been eliminated, but the unpleasant feeling remains.

A
ajaxtelamonid, 2013-10-18
@ajaxtelamonid

Any cacher will do. All work pretty much the same.
memcached does not need to be installed, this is for another.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question