问题描述
OPcache 通过将预编译的脚本字节码存储在共享内存中来提高 PHP 性能,从而消除 PHP 在每个请求上加载和解析脚本的需要,以提高 PHP 性能。
解决方案
安装方法:
1)Learn how to integrate PHP OPcache in a web application
2)PHP 7 + OPcache speed up websites noticeably – IONOS
配置属性:
1)PHP: Runtime Configuration – Manual
参考文献