At this stage W3 Total Cache is installed and activated. This means that now your WordPress application supports Memcached. The next step is to edit the plugin 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:
Enable Memcached from cPanel
In our example, the correct details are:
Memcached IP address:
127.0.0.1Memcached Port:
20006Please 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 file on your account:
wp-content/w3-total-cache-config-preview.phpYou have to find the following text string in the code:
127.0.0.1:11211
and replace it with:
127.0.0.1:20006
As you can see the idea is to replace the default Memcached port (11211) with the correct port for your account. You can now access the WordPress administrative area and configure the plugin from the Plugins section.