How to use Memcached with PHP7?
You need to use the php7 branch; see here, Travis is passing. This should be the complete set of steps to install the memcached extension on a Debian/Ubuntu OS: You may need to change some of the paths if you have them installed at different locations.