Hello,
I have installed Nextcloud into an ibay according to the wiki
https://wiki.contribs.org/OwnCloudI have enabled php7.0 for this ibay by
https://wiki.contribs.org/PHP_Software_CollectionsFrom its administrative panel, Nextcloud asks for configuring OPCache by putting following into 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
The questions is: which file should be modified to do it?
What I tried:
- As php7.0 is enabled by php-scl, I think that the conf file isn't /etc/php.ini but /etc/opt/remi/php70/php.ini . Is this right?
- If I'm right, the conf of this file is given by the templates present into /etc/e-smith/templates/opt/remi/php70/root/etc/php.ini .
- Therefore I created the template-custom /etc/e-smith/templates-custom/opt/remi/php70/root/etc/php.ini/100OPCache_nextcloud and I entered the parameter of opcache given by nextcloud into it.
- After reconfiguring the server, /etc/opt/remi/php70/php.ini contains
[PHP]
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
at its beginning.
Unfortunately, Nextcloud asks further for the configuration of OP Cache => it seems not to be the right way
How to do this in a working way?
Regards
Arnaud