I just build this new Nextcloud 13.0.6 using Ubuntu 18.04 with Mariadb, NGINX and php7.2. All is working fine but I cannot pass this check for OPcache.
According to the docs the php.ini file used is under /etc/php/7.2/fpm/php.ini
I edited this file and enabled the lines, and changed the options as required in the “Security and Settings warning”
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
Saved the file, rebooted the server to make sure all is down, but this security warning just does not go away.
Is there another php.ini on another path used for this setup?