OJS cache 缓存

XIAO Qinghe
XIAO Qinghe
XIAO Qinghe
管理员
1865
文章
0
粉丝
日志记录评论5字数 53阅读0分10秒阅读模式

1、Php 8.5安装OPcache

配置设置:

[opcache]
opcache.enable=1
opcache.enable_cli=1

opcache.memory_consumption=256
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=20000

opcache.validate_timestamps=1
opcache.revalidate_freq=60

opcache.save_comments=1
opcache.jit=0

重启Php

2、OJS config

[cache]

default = opcache

path = cache/opcache

web_cache = On

web_cache_hours = 2

 
匿名

发表评论

匿名网友
确定

拖动滑块以完成验证