实现opcache加速php7.X

一、环境准备

操作系统:Centos8.3.2011

软件:PHP7.2.24

二、安装过程

1、安装软件

[20:03:29 root@centos8 src]#dnf -y install php-opcache
[20:03:29 root@centos8 src]#systemctl restart php-fpm

2、安装重启之后,加速器即可生效

 

posted @ 2021-06-27 20:26  spoonky  阅读(57)  评论(0)    收藏  举报