Solved - Laravel class 'memcached' not found
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....
- How to Notifications With database Driver in Laravel 11?
- How to Send Email Via Notification in Laravel 11?
- How to Install and Configure Laravel 11 Debugbar?
- How to Like Dislike System in Laravel 11?
- How to Paginate a Model with Relationship in Laravel 11?
- Laravel 11 Upload Files to Amazon S3 Example
- Laravel 11 Send WhatsApp Messages Example
- Laravel 11 Rest API Authentication Using JWT Tutorial