Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When trying to use memcached in my php script, i get class not found. I am running LAMP on Ubuntu 9.01 and have so far taken the following few steps:

apt-get install memcached
pecl install Memcache
apache2ctl restart

I see the memcache extension when viewing phpinfo, but no memcached?!

Is there anything else that i need to do to be able to use memcached in my script? Thanks in advance

share|improve this question
add comment

2 Answers

Search for "memcache class not found" at Google yields Memcache Class Not Found thread with troubleshooting instructions:

Run php -i | grep memcache to ensure that PHP was compiled with the --enable-memcache option.

share|improve this answer
add comment
apt-get install php5-memcache

another 3 minute hold... la la la la la la.... two robot checks... la la la la..... and another robot check.. whee....

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.