crx349 发表于 2018-4-14 22:46:27

modoer 3.6.5 最佳性能设置

// session实现方式
$_G['session_type'] = 'redis'; //db,redis
// 内存缓存工具使用
$_G['cache_type'] = 'memcache';//file,redis,memcache,apc;

$_G['memcache']['enabled'] = true;
$_G['memcache']['host'] = '127.0.0.1';
$_G['memcache']['port'] = 11211;
$_G['memcache']['pconnect'] = true;
$_G['memcache']['timeout'] = 1;

$_G['redis']['enabled'] = true;
$_G['redis']['host'] = '127.0.0.1';
$_G['redis']['port'] = 6379;
$_G['redis']['pconnect'] = true;
$_G['redis']['timeout'] = '0';

页: [1]
查看完整版本: modoer 3.6.5 最佳性能设置