I have installed next cloud on Intel Nuc on Mint Linux. I have installed php7 and my SQL. I have edited the php.ini however below error is not going at all.
Jep putting them into mods-available/opcache.ini has the advantage, that they are activated for all PHP connectors automatically together with the module. I am not sure if opcache.enable_cli=1 etc even has any effect if it is set just within apache2/php.ini.