Systems with OPcache installed must have opcache.save_comm

  • A+
所属分类:SAP

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即可!

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: