We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Can't find Backend namespace. Class 'Memcache' not found in ...

Just started using Phalcon. I've installed 1.3, and phpinfo() shows it's working. When I try to view my application (which a friend developed) I get the error:

PHP Fatal error: Class 'Memcache' not found in /Users/me/Desktop/bmr/pages/app/libraries/bmr/Cache.php on line 38

When I open the file in PHP storm it's showing Backend, in " \Phalcon\Cache\Backend\Memcache" is undefined.

Any idea what's going wrong?

I was using Memcached and not Memcache. Fixed.

Hi, mark as solved!