Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to use memcached in phalcon

How to use memcached in phalcon, Fatal error: Class 'Phalcon\Cache\Backend\Libmemcached' not found



2.5k

there is no 'Phalcon\Cache\Backend\Libmemecached' Class, just a 'Phalcon\Cache\Backend\Memche' version 1.2.6



2.7k
Accepted
answer

Actually there is Phalcon\Cache\Backend\Libmemcached but it's only available from version 1.3.0. You can use 1.3.1 by building the extension manually:

git clone https://github.com/phalcon/cphalcon.git
cd cphalcon
git checkout 1.3.1
cd build
sudo ./install

don't forget to update your devtools too.