Systems with OPcache installed must have opcache.save_comm

Systems with OPcache installed must have opcache.save_comments (link is external) enabled.

解决办法:
你确认他读入的是哪个Php.ini
xshell下看看 php –ini 用这个命令看一下都是哪些ini

vim /usr/local/php/etc/php.d/ext-opcache.ini
将里面的opcache.save_comments=1后保存,service php-fpm restart即可!

本文作者: GavinDong

版权属于: GavinDong博客

文章链接: https://gavindong.com/1304.html

如果使用过程中遇到问题,可 **点击此处** 交流沟通。

版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

(0)

发表回复

登录后才能评论