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

如若转载,请注明出处:https://www.gavindong.com/1304.html

微信沟通