我想請問:我開啟了memecached 的服務,我有兩個Drupal 網站想要都有memcache_status
但是只有的一個網站有圖表,第二個網站就會顯示:There is a problem with your memcache configuration, check the Drupal logs for additional errors. Please review README.txt for help resolving the following issue:
Failed to connect to memcached server instance at 127.0.0.1:11211.
這是我的settings.php 配置
#Memcached
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['memcache_servers'] = array(
'127.0.0.1:11211' => 'default',
);
$conf['memcache_bins'] = array(
'cache' => 'default',
'cache_filter' => 'default',
'cache_menu' => 'default'
);
謝謝