From 1ffd4462141e6a79c8a353b653985efeb57a2b33 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Tue, 15 Mar 2022 17:04:53 +0100 Subject: [PATCH] ensure JIT is disabled It was disabled by default (jit_buffer_size=0 by default), but this setting makes sure JIT is unavailable at runtime. While JIT may bring minor performance improvements, this is not worth the risk of being exposed to tons of bugs due to JIT code complexity. --- rootfs/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini b/rootfs/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini index d77112b..c855e11 100644 --- a/rootfs/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini +++ b/rootfs/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini @@ -6,3 +6,5 @@ opcache.memory_consumption= opcache.interned_strings_buffer=16 opcache.max_accelerated_files=10000 opcache.revalidate_freq=60 +opcache.jit=disable +opcache.jit_buffer_size=0