On MAC : Memcached class not found
Lumen : 5.4
I do not have cache.php in /config folder
$ ps -e | grep memcache | grep -v grep
796 ?? 0:04.71 /usr/local/opt/memcached/bin/memcached -l localhost
1972 ?? 0:02.34 memcached -d -p 11211
memcache locally is installed and running
enabled in php.ini
$ php -i |grep php.ini
Configuration File (php.ini) Path => /usr/local/etc/php/5.6
Loaded Configuration File => /usr/local/etc/php/5.6/php.ini
memcached
memcached support => enabled
libmemcached version => 1.0.18
memcached.compression_factor => 1.3 => 1.3
memcached.compression_threshold => 2000 => 2000
memcached.compression_type => fastlz => f
Would be great if someone can help.
Run phpinfo() and see where the config there is located to make sure it's the same you are getting in the CLI.
NOTE: There are two extensions for memcached in PHP, this may be where your having the issue.
- memcache
- memcached
It looks like you may be trying to use memcache but have the memcached extension installed.
Please or to participate in this conversation.