I have a basic question. Where we tell to Apache/Varnish/Drupal that memcached is running at localhost with this port.
I hope I am doing something wrong in configuration. Kindly let me know.., if any link gives all required steps for memcache support in drupal 7.

-Austin


On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter <austin.einter@gmail.com> wrote:
Dear All
I am facing some issues with Memcache install in a Drupal 7 site.
Environment CentOs 7.3, Drupal 7.15

1. First I Installed memcached using yum command (tried two times one time from remi repo and other time from base repo).
2. I configured /etc/sysconfig/memcacche config file
3. Started memached service

Looks everything went fine.

Then I
1. installed php-pecl-memcache from remi repo
2. enabled memcache module in drupal

Added below lines in settings.php file

include_once('./includes/cache.inc');
include_once('./sites/all/modules/memcache/memcache.inc');
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';


After that I restarted memcached, httpd service.

Next I am unable to access my site. If I do not use memcache it is running fine, once i enable memcache it does not run.

Anybody has faced this issue.

Kindly guide how to resolve this issue.

Thanks
Austin