Hi,
I have installed OPCache in my cyberpanel, how do I enabled it? I have added this to php.ini in all php versions:
[opcache]
zend_extension=php_opcache.dll
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
Is this enough? I have also seen this configurations, which would be the best one?
Config 3:
opcache.revalidate_freq=0
opcache.validate_timestamps=0 (comment this out in your dev environment)
opcache.max_accelerated_files=7963
opcache.memory_consumption=192
opcache.interned_strings_buffer=16
opcache.fast_shutdown=1
Config 4:
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=512
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=50000
opcache.max_wasted_percentage=15
opcache.use_cwd=1
opcache.validate_timestamps=1200
opcache.revalidate_freq=0
opcache.revalidate_path=1
opcache.save_comments=1
opcache.fast_shutdown=1
opcache.consistency_checks=1
Regards.