nextcloud--The PHP Opcache is not properly configured. For better performance we recommend ↗ to use following settings in the php.ini:

opcache.enable=1

opcache.enable_cli=1

opcache.interned_strings_buffer=8

opcache.max_accelerated_files=10000

opcache.memory_consumption=128

opcache.save_comments=1

opcache.revalidate_freq=1

把以下两个文件中的相关值都改成对应的了,

并且要把;号去掉才算生效

huang@huang-ubuntu:~$ sudo vim /etc/php/7.0/fpm/php.ini

huang@huang-ubuntu:~$ sudo vim /etc/php/7.0/cli/php.ini

然后重启

huang@huang-ubuntu:~$ sudo systemctl restart php7.0-fpm

huang@huang-ubuntu:~$ sudo systemctl restart nginx


我觉的改一个应该就可以了

你可能感兴趣的:(nextcloud--The PHP Opcache is not properly configured. For better performance we recommend ↗ to use following settings in the php.ini:)