Improve OPCache config

This commit is contained in:
2024-11-07 14:56:55 +01:00
parent b76a1fdc38
commit 83a9ec70fa
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.revalidate_freq=0
opcache.validate_timestamps=1
opcache.preload=/app/config/preload.php
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.max_wasted_percentage=10
+1 -1
View File
@@ -1,7 +1,7 @@
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.preload=/app/config/preload.php
opcache.preload_user=www-data
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.validate_timestamps=0