I'm trying to switch the Memcached version being used based on the PHP version
Is going something like this possible in the config.php file?
Is going something like this possible in the config.php file?
PHP:
if (phpversion() < "7") {
$config['cache']['backend'] = 'Memcached';
} else {
$config['cache']['backend'] = 'Libmemcached';
}