diff --git a/rootfs/etc/confd/conf.d/02_opcache.ini.toml b/rootfs/etc/confd/conf.d/02_opcache.ini.toml new file mode 100644 index 0000000..595e953 --- /dev/null +++ b/rootfs/etc/confd/conf.d/02_opcache.ini.toml @@ -0,0 +1,3 @@ +[template] +src = "02_opcache.ini.tmpl" +dest = "/etc/php7/conf.d/02_opcache.ini" diff --git a/rootfs/etc/confd/templates/02_opcache.ini.tmpl b/rootfs/etc/confd/templates/02_opcache.ini.tmpl new file mode 100644 index 0000000..104f242 --- /dev/null +++ b/rootfs/etc/confd/templates/02_opcache.ini.tmpl @@ -0,0 +1,7 @@ +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