Opcache settings ?
Opcache settings ?
where can I adjust current opcache settings for PHP versions ? Where are 'defaults' located ? For example opcache.max_accelerated_files and opcache.memory_consumption ?
Is /opt/keyhelp/php/x.x/etc/conf.d/01-opcache.ini right way to adjust this ? What will happen to this file on updates ?
ty.
Re: Opcache settings ?
you can just insert the opcache settings in the same submenu as like "disable_functions" for php.
Just edit at the "User Administration" the related user where you need to set opcache values and follow with "</> PHP".
Then scroll down to "Additional PHP directives" and insert opcache values.
I provide you a example:
Code: Select all
opcache.enable_cli=1
opcache.interned_strings_buffer=20
opcache.max_accelerated_files=3000
opcache.memory_consumption=64M
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.validate_timestamps = 0
output_buffering = off
Daniel Marckardt
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************