diff --git a/debian/php/php.ini b/debian/php/php.ini index a748d2f..fec5026 100644 --- a/debian/php/php.ini +++ b/debian/php/php.ini @@ -6,10 +6,18 @@ upload_max_filesize=10M [opcache] ; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended opcache.enable_cli=1 -opcache.max_accelerated_files=4000 -opcache.revalidate_freq=60 [jit] ; https://wiki.php.net/rfc/jit_config_defaults opcache.jit=tracing opcache.jit_buffer_size=64M + +[extra] +; https://frankenphp.dev/docs/performance/#php-performance +; http://symfony.com/doc/current/performance.html +opcache.memory_consumption=256 +opcache.max_accelerated_files=20000 +opcache.preload=/app/preload.php +opcache.validate_timestamps=0 +realpath_cache_size = 4096K +realpath_cache_ttl = 600