From 83ba8d5840b76639623c4bac46dfd48c815c9464 Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Fri, 26 Sep 2025 04:01:17 +0200 Subject: [PATCH] Optimize opcache settings, enable JIT --- data/conf/phpfpm/php-conf.d/opcache-recommended.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/conf/phpfpm/php-conf.d/opcache-recommended.ini b/data/conf/phpfpm/php-conf.d/opcache-recommended.ini index 3c51e11b7..1128d2174 100644 --- a/data/conf/phpfpm/php-conf.d/opcache-recommended.ini +++ b/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