feat: improve PHP config (#266)

* feat: improve PHP config

Tweak PHP config according to Blackfire's recommendation.

* Update docker/php/conf.d/symfony.prod.ini

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>

* fix

* fix

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
This commit is contained in:
Kévin Dunglas
2022-07-28 11:12:43 +02:00
committed by GitHub
parent 4eebb98ba0
commit daef1cb0d5
4 changed files with 19 additions and 19 deletions

View File

@@ -1,11 +1,13 @@
apc.enable_cli = 1
expose_php = 0
date.timezone = UTC
session.auto_start = Off
short_open_tag = Off
apc.enable_cli = 1
session.use_strict_mode = 1
zend.detect_unicode = 0
# http://symfony.com/doc/current/performance.html
# https://symfony.com/doc/current/performance.html
realpath_cache_size = 4096K
realpath_cache_ttl = 600
opcache.interned_strings_buffer = 16
opcache.max_accelerated_files = 20000
opcache.memory_consumption = 256
realpath_cache_size = 4096K
realpath_cache_ttl = 600
opcache.enable_file_override = 1