Configuration d'OPcache avec FrankenPHP.
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user