docker icon indicating copy to clipboard operation
docker copied to clipboard

opcache configuration needed to satisfy nextcloud check

Open vbatts opened this issue 3 years ago • 0 comments

Recently (v24?) the Nextcloud self-check reported that opcache is not enabled. image

Searching Nextcloud forums it looks like the op enabled:

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

in their php.ini.

Of which in this docker image, /usr/local/etc/php/conf.d/opcache-recommended.ini has most of these, except for opcache.enable_cli=1

(I'm not aware the implications of this config, but from the forum it looks like that config satisfies the sefl-check)

vbatts avatar Jun 25 '22 12:06 vbatts