The last step is to enable the module from your Drupal administrative area -> Modules section. Before you do this you need to edit the module's files and configure it to use the correct hostname and port combination. For more details how to find out the correct details please check the following tutorial:
In our example, the correct details are:
Memcached IP address: 127.0.0.1
Memcached Port: 20006
Please note that when you enable Memcached the system will randomly generate a port for you. You should remember the port number. The next step is to manually edit the following two files on your account:
sites/all/modules/memcache/dmemcache.inc
sites/all/modules/memcache/memcache_admin/memcache_admin.moduleYou have to find the following text string in the code:
127.0.0.1:
11211and replace it with:
127.0.0.1:
20006As you can see the idea is to replace the default Memcached port (11211) with the correct port for your account. You can now access your Drupal administrative area and enable the Memcached module from the Modules menu:
