Jun 01, 2021
Now let's see example of laravel class 'memcached' not found. it's easy example of in memcachedconnector.php line 69: class 'memcached' not found. this article will help you class 'memcached' not found php 7.
Yesterday i was working on my laravel application and i was configure memcached as driver. but when i did it everything then i got following error "laravel class 'memcached' not found".
You will check if php extension is installed or not. So let's run bellow command:
Install Memcached in Server:
In this step, We need to install memcached in ubuntu server and php extension for it. So let's open terminal run bellow command:
sudo apt-get install memcached
Install Memcached Extension:
In this step, You need install php extenstion for memcached. it's version specify so it will install with your php version like "sudo apt-get install php7.3-memcached", sudo apt-get install php7.4-memcached etc. but for default you can use as like bellow command:
sudo apt-get install php-memcached
It will help you....