[HOW TO INSTALL AND USE MEMCACHED WITH NGINX, PHP 7 ON UBUNTU 16.04]
Add a dynamic extension to: (get the path from phpinfo)
/etc/php/7.1/fpm/php.ini
extension=memcached.so
Restart the service:
sudo service memcached restart sudo service php7.1-fpm restart