drupal 6 with memcached

ติดตั้ง memcached

# aptitude install memcachedb php5-memcached

โหลด module มาลงที่ sites/all/modules/

http://drupal.org/project/memcache

แก้ไข php.ini

memcache.hash_strategy="consistent"

แก้ไข settings.php

$conf = array(
    'cache_inc' => './sites/all/modules/memcache/memcache.db.inc',
        'memcache_servers' => array(
            'localhost:11211' => 'default',
        ),
        'memcache_bins' => array(
            'cache' => 'default',
        ),
);

จบ