Browse Source

Optimize opcache settings, enable JIT

Patrik Kernstock 3 weeks ago
parent
commit
83ba8d5840
1 changed files with 6 additions and 1 deletions
  1. 6 1
      data/conf/phpfpm/php-conf.d/opcache-recommended.ini

+ 6 - 1
data/conf/phpfpm/php-conf.d/opcache-recommended.ini

@@ -1,7 +1,12 @@
+# opcache
 opcache.enable=1
 opcache.enable_cli=1
 opcache.interned_strings_buffer=16
 opcache.max_accelerated_files=10000
 opcache.memory_consumption=128
 opcache.save_comments=1
-opcache.revalidate_freq=1
+opcache.revalidate_freq=120
+opcache.validate_timestamps=0
+# jit
+opcache.jit = 1255
+opcache.jit_buffer_size = 8M