MyBB Community Forums

Full Version: Memcached and config.php in mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So when using memcached, do we need to change memcache to memcached in inc/config.php?

This part:
$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;
to this:
$config['memcached']['host'] = 'localhost';
$config['memcached']['port'] = 11211;

or it will work with
$config['cache_store'] = 'memcached';

/**
 * Memcache configuration
 *  If you are using memcache or memcached as your
 *  data-cache, you need to configure the hostname
 *  and port of your memcache server below.
 *
 * If not using memcache, ignore this section.
 */

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;
it should work with $config['cache_store'] = 'memcached';
(05-29-2019, 02:45 PM).m. Wrote: [ -> ]it should work with $config['cache_store'] = 'memcached';

Yes, you are right. Thanks.

One more question to not open a new thread, it appears smilies are not cached and area manually loaded in debug info. Why is it not cached and I have deleted default smilies and added around 30~ other.
^ smilies are also cached. check with cache manager at tools & maintenance section
(05-29-2019, 03:32 PM).m. Wrote: [ -> ]^ smilies are also cached. check with cache manager at tools & maintenance section

The problem was Board Announcement Manager (BAM Announcements plugin). 

Seems like its not cached and is also making smilies uncached, after removing it everything is fine now.