I realize there are about 10 of these questions out there but none fit me completely.
Steps completed:
If you are in a ubuntu environment, try to install Memcached with this:
sudo apt-get install php5-memcached
After that restart your server with
sudo service lighttpd restart
or
sudo service apachectl2 restart
or
sudo service nginx restart
Memcache
and Memcached
are two different PHP extensions. Memcache
is the older deprecated one. Memcached
is a much newer and fully supported extension.
Check out http://pecl.php.net/package/memcached
You may need to also install libmemcached
https://launchpad.net/libmemcached/+download
apt-get install php-memcached
Solved the issue for "Class MemCached not found" coming from Laravel.
In Laravel/Lumen 5.4 just replace the CACHE_DRIVER=file in .env file, the artisan command will work perfectly, But you will not get all the command as same as laravel.