I'm getting:
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'Memcached' not found
After upgrading from Ubuntu 17.04 to 17.10.
The code calling memcached:
/**
* Get a new Memcached instance.
*
* @return \Memcached
*/
protected function getMemcached()
{
return new Memcached;
}
I tried re-installing php-memcached with --purge. A look at the output of phpinfo() shows this line:
/etc/php/7.0/fpm/conf.d/25-memcached.ini
The memcached.so module has moved from /usr/lib/php/20151012 to /usr/lib/php/20160303
The answer might be to upgrade to PHP 7.1. Trying that now.