memcache shouldnt be installed using apt-get, you should check if it's present as memcache.so in your /opt/...... directory.
If not install it using pecl.
Btw, try to use sury repository. It has everything built for you, ready to be installed using apt-get and used !