- 积分
- 16
- 威望
-
- 金钱
-
- 注册时间
- 2017-11-19
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
lnmp 1.4 + Discuz 3.2 請教 config_glogal.php 內 memcache 和 redis 設定, 各該如何設?
// -------------------------- CONFIG MEMORY --------------------------- //
$_config['memory']['prefix'] = 'SkuV20_';
$_config['memory']['memcache']['server'] = '';
$_config['memory']['memcache']['port'] = 11211;
$_config['memory']['memcache']['pconnect'] = 1;
$_config['memory']['memcache']['timeout'] = 1;
$_config['memory']['redis']['server'] = '';
$_config['memory']['redis']['port'] = 6379;
$_config['memory']['redis']['pconnect'] = 1;
$_config['memory']['redis']['timeout'] = '0';
$_config['memory']['redis']['requirepass'] = '';
$_config['memory']['redis']['serializer'] = 1;
承蒙前輩先進指教, 感激不盡!
[ 本帖最后由 mattlin 于 2018-2-6 12:01 编辑 ] |
|