PHP memcached Fatal error: Class 'Memcache' not found

后端 未结 6 640
清酒与你
清酒与你 2020-11-28 08:55

I\'ve pasted the example from php.net for using memcached in php and I\'m getting:

Fatal error: Class \'Memcache\' not found

I have this in m

6条回答
  •  庸人自扰
    2020-11-28 09:46

    There are two extensions for memcached in PHP, "memcache" and "memcached".

    It looks like you're trying to use one ("memcache"), but the other is installed ("memcached").

提交回复
热议问题