feat: add support for PHP preloading
This commit is contained in:
14
docker/php/conf.d/symfony.prod.ini
Normal file
14
docker/php/conf.d/symfony.prod.ini
Normal file
@@ -0,0 +1,14 @@
|
||||
apc.enable_cli = 1
|
||||
date.timezone = UTC
|
||||
session.auto_start = Off
|
||||
short_open_tag = Off
|
||||
|
||||
# https://symfony.com/doc/current/performance.html
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 20000
|
||||
opcache.memory_consumption = 256
|
||||
opcache.validate_timestamps = 0
|
||||
realpath_cache_size = 4096K
|
||||
realpath_cache_ttl = 600
|
||||
opcache.preload_user=www-data
|
||||
opcache.preload=/srv/app/var/cache/prod/App_KernelProdContainer.preload.php
|
||||
Reference in New Issue
Block a user