laravel class memcached not found
<p>First of all , I have looked at all of these :</p>

<p><a href="https://stackoverflow.com/questions/27991908/php-5-4-laravel-class-memcached-not-found">#1</a> , <a href="https://stackoverflow.com/questions/31660915/laravel-5-memcached-not-found-while-properly-installed">#2</a> , <a href="https://stackoverflow.com/questions/34196482/class-memcached-not-found-in-laravel">#3</a></p>

<p>and none of them is my case nor has really a soloution.</p>

<p>The problem is that I am developing a website by laravel 5.3.18 and here is the PHP info running on my server:</p>

<pre><code>PHP 7.0.9-2 (cli) ( NTS )                                                    
Copyright (c) 1997-2016 The PHP Group                                        
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies                
    with Zend OPcache v7.0.9-2, Copyright (c) 1999-2016, by Zend Technologies
</code></pre>

<p>And also here is my server OS info if you need to take a look at:</p>

<pre><code>No LSB modules are available.                          
Distributor ID: Debian                                 
Description:    Debian GNU/Linux stable-updates (sid)  
Release:        stable-updates                         
Codename:       sid 
</code></pre>

<p>I need to change CACHE_DRIVER to memcached in order to use <a href="https://github.com/Zizaco/entrust" rel="nofollow noreferrer">this package</a>(according to what they say in the GitHub issues about fixing the found bug).</p>

<p>Here is where all my problems started.</p>

<p>I have thses memcahed packages installed on my server(listed by dpkg --list):</p>

<p><a href="https://i.stack.imgur.com/1MV42.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1MV42.jpg" alt="enter image description here"></a></p>

<p>I see everyone is talking avout installing php5-memcached but shockingly when I try to install php5-memcached I get this:</p>

<p><a href="https://i.stack.imgur.com/kT6VX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kT6VX.jpg" alt="enter image description here"></a></p>

<p><strong>and tha's after running</strong> <code>sudo apt-get update</code>!</p>

<p>I even get this after entering <code>sudo service memcached status</code>:
<a href="https://i.stack.imgur.com/0ipXc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ipXc.jpg" alt="enter image description here"></a></p>

<p>After all of these when I change the CACHE_DRIVER to memcached, it keeps on showing this error:</p>

<p><a href="https://i.stack.imgur.com/HemcB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HemcB.jpg" alt="enter image description here"></a></p>

<p><strong>While I am still struggling with this, Any ideas on this guys? I would be appreciative!</strong></p>