SMF Development > Fixed or Bogus Bugs

[4350] Only shows one caching engine even if multiple are available

(1/3) > >>

shinji257:
I have multiple caching systems installed on my system.  I setup both memcached and APC on the server.  When APC is disabled it will gladly show that memcached is available.  When I enable APC then it only reveals that one but memcached is never reported as being available on the server.  I do believe I have narrowed down where the bug is probably at if it is even a bug at all.


--- Code: ---        // Detect an optimizer?
        if (function_exists('eaccelerator_put'))
                $detected = 'eAccelerator';
        elseif (function_exists('mmcache_put'))
                $detected = 'MMCache';
        elseif (function_exists('apc_store'))
                $detected = 'APC';
        elseif (function_exists('output_cache_put'))
                $detected = 'Zend';
        elseif (function_exists('memcache_set'))
                $detected = 'Memcached';
        elseif (function_exists('xcache_set'))
                $detected = 'XCache';
        else
                $detected = 'no_caching';

        $context['settings_message'] = sprintf($context['settings_message'], $txt['detected_' . $detected]);[code]
--- End code ---
[/code]

Now then this may be purely cosmetic given the above code.  So my question comes around.  If I fill in the memcached setting field will it take advantage of both APC and memcached anyways?

Forgot this may be useful -- http://esminefield.net/phpinfo.php [nofollow]

Kill Em All:
Sorry for getting to this late. Unfortunately, I'm unable to test this, however, I will move this to the Bug Reports board.

live627:
I will test this in a few hours once I am in Linux

Kill Em All:
Thanks live627, my host unfortunately doesn't have any.

live627:
Confirmed. Says APC when I also have XCache.

Navigation

[0] Message Index

[#] Next page

Go to full version