Configuration d'OPcache avec FrankenPHP.

This commit is contained in:
2026-02-28 10:20:39 +01:00
parent 502fa49d24
commit a9f904060e
4 changed files with 27 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Configuration de OPcache pour un environnement de production
# JIT est activé et OPcache vérifie les modifications toutes les 60 secondes
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.jit=1255
opcache.jit_buffer_size=128M
+12
View File
@@ -0,0 +1,12 @@
# Configuration de OPcache pour un environnement de développement
# JIT est désactivé et OPcache vérifie les modifications à chaque requête
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.validate_timestamps=0
opcache.revalidate_freq=0
opcache.jit=0
opcache.jit_buffer_size=0