activate opcache

This commit is contained in:
Sebastian Hugentobler 2017-09-11 13:46:27 +02:00
parent 0a2f8febb1
commit 937cfa9e7d
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[template]
src = "02_opcache.ini.tmpl"
dest = "/etc/php7/conf.d/02_opcache.ini"

View File

@ -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