If I run phpinfo (), it tells me that memcached is installed.
memcached memcached support enabled Version 1.0.2 libmemcached version 0.44 Session support yes igbinary support no
I installed it using sudo pecl install memcached
But when I try to instantiate the memcached class, it was not found:
$ mc = new Memcached ();
gets:
Fatal error: Class 'Memcached' not found
PECL has never been used as an installation mechanism before, do I need to do something in php.ini or somewhere to be able to use the class?
php memcached
Steve claridge
source share