From 937cfa9e7d4c53e60893088fe957c56b9572b586 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 11 Sep 2017 13:46:27 +0200 Subject: [PATCH] activate opcache --- rootfs/etc/confd/conf.d/02_opcache.ini.toml | 3 +++ rootfs/etc/confd/templates/02_opcache.ini.tmpl | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 rootfs/etc/confd/conf.d/02_opcache.ini.toml create mode 100644 rootfs/etc/confd/templates/02_opcache.ini.tmpl 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