# Caching Configuration - Optimized for performance $config['template_cache'] = true; $config['template_cache_dir'] = '/srv/www/html/cmsms/tmp/cache'; $config['module_cache'] = true; $config['module_cache_dir'] = '/srv/www/html/cmsms/tmp/cache'; $config['autoloader_cache'] = true; $config['autoloader_cache_dir'] = '/srv/www/html/cmsms/tmp/cache'; # Enable Smarty caching $config['smarty_cache'] = true; $config['smarty_compile_check'] = false; $config['smarty_force_compile'] = false; # Session cache using memcached if (extension_loaded('memcached')) { $config['session_handler'] = 'memcached'; $config['memcached_session_servers'] = '127.0.0.1:11211'; }
Fatal error: Uncaught Error: Failed to create session ID: memcached (path: tcp://127.0.0.1:11211) in /srv/www/html/cmsms/lib/misc.functions.php:1281 Stack trace: #0 /srv/www/html/cmsms/lib/misc.functions.php(1281): session_start() #1 /srv/www/html/cmsms/index.php(92): setup_session() #2 {main} thrown in /srv/www/html/cmsms/lib/misc.functions.php on line 1281