Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Months, 2 Weeks, 4 Days ago Memcached and config.php in mybb
#1
Solved: 2 Months, 2 Weeks, 4 Days ago
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;
Reply
#2
Solved: 2 Months, 2 Weeks, 4 Days ago
it should work with $config['cache_store'] = 'memcached';
Reply
#3
Solved: 2 Months, 2 Weeks, 4 Days ago
(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.
Reply
#4
Solved: 2 Months, 2 Weeks, 4 Days ago
^ smilies are also cached. check with cache manager at tools & maintenance section
Reply
#5
Solved: 2 Months, 2 Weeks, 4 Days ago
(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.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)