I am trying to use MemcachePool in my code, it reports the following error in PhP:
PHP Fatal error: Class ‘MemcachePool’ not found in test.php
Here is the code snippet:
$this->mMemcached = new MemcachePool();
$this->mMemcached->addServer(...)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i never heard of
MemcachePool– maybe you just wanted to use Memcache (thats where addServer() can be found)? in that case, just change your code to:if this isn’t what you’re looking for,
MemcachePoolhas to be a third party extension that hasn’t been installed or a custom (wrapper)-class wich you forgot to include.