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

