tollmanz / wordpress-pecl-memcached-object-cache

A WordPress object cache that uses the memcached (not memcache) PECL extension.
233 stars 114 forks source link

Fatal error: Class 'Memcached' not found in php shell code on line 1 #71

Closed BrunoSette closed 9 years ago

BrunoSette commented 9 years ago

i see that message when typing: $m = new Memcached();

Any Help?

shmuel-krakower commented 9 years ago

Hi @BrunoSette - you get this error because the Memcached php extension is missing from your installation. Run phpinfo() and look for 'Memcached' (you probably won't find it). This plugin was created to work with Memcached and not Memcache.

tollmanz commented 9 years ago

Sorry for missing this @BrunoSette. Thanks for helping @shmuel-krakower!

@shmuel-krakower is 100% correct. You need to install PECL Memcached. It is really unfortunate that there is a "memcache" and "memcached" PECL extension :/ It leads to a lot of confusion.