I'm trying to improve the performance of nextcloud since upgrading a virtual servers nextcloud instsance to mysql. When logging in as administrator I am getting the following warning under 'settings/overview':
The PHP OPcache is not properly configured. For better performance it is recommended to use the 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
I have added these settings to the php.ini on the path given in the virtualmin web php configuration page for this virtual server: /home/domain/etc/php7.2/php.ini but the warning remains. I have also added these to the main php.ini file at /etc/php.ini and /home/domain/public_html/nextcloud/.user.ini none of which seem to make any difference. Where can I find the correct php.ini file to insert these parameters?