I've inherited a site that connected with memcache even though its not necessary and its not installed on the server. Although I've disabled the memcache module, the settings file has these lines which I cannot delete or the site stops working:
$conf['cache_backends'] = 'sites/all/modules/contrib/memcache/memcache.inc'; $conf['cache_class_cache_form'] = 'DrupalDatabaseCache'; $conf['cache_default_class'] = 'MemCacheDrupal';
I am getting this log message every two or three minutes:
Failed to connect to memcache server: 127.0.0.1:11211
Clearing the Drupal cache and restarting Apache do not seem to fix the problem. How can I fix this?