Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a wordpress installation (latest version) running on a debian server with memcached and php5-memcached installed (memcache appears on phpinfo()), but W3 Total Cache doesn't seem to recognize it, the compatibility test reports the extension as not installed and doesn't offer memcaced as an option in the various cache configurations.

PHP is running as FastCGI if that's important.

How can I get memcache to work with W3TC?

share|improve this question

closed as off-topic by ialocin, Johannes Pille, G. M., bungeshea, Mark Kaplun Aug 21 at 13:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – ialocin, Johannes Pille, G. M., bungeshea, Mark Kaplun
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

At the time of this writing, W3TC only recognizes the php5-memcache (vs. php5-memcached) PHP client for memcached memory object caching system/software.

Hence the "Memcache extension: Installed" in W3TC compatibility test for memcached.

Memcached being useful and efficient as a caching method for database and/or object user/data caching via W3TC, even on a single server setup, besides APC or Zend Opcode (PHP 5.5 core).

share|improve this answer

having php-memchached installed doesn't mean that you have memcached installed. memcached is a software by itself that should be installed.

In any case if you ask such a basic question about memcache then you don't need it, and should use APC or xcache for object caching which will give you much better improvement then using memcache (memcached is best used in multi server environment with some kind of load balancing and from your question it doesn't sound like that is your configuration).

share|improve this answer
    
memcached itself is installed, I'm using APC now but the performance is abysmal so I figured I might try the alternatives –  Matteo Riva Jan 20 at 17:02
    
both caching methods will not give you much improvements if you don't have many registered users that come to the site, static file that W3TC generates will cause your memcache/apc caching not to have any effect (apc have other advantages as it compiles your php and saves memory) –  Mark Kaplun Jan 20 at 18:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.