diff --git a/debian/php/php.ini b/debian/php/php.ini index 35c9074..2defb8d 100644 --- a/debian/php/php.ini +++ b/debian/php/php.ini @@ -1,15 +1,23 @@ [core] -# https://www.php.net/manual/en/ini.core.php -post_max_size = 10M -upload_max_filesize = 10M +; https://www.php.net/manual/en/ini.core.php +post_max_size=10M +upload_max_filesize=10M [opcache] -# https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended +; 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 +; https://wiki.php.net/rfc/jit_config_defaults opcache.jit=tracing opcache.jit_buffer_size=64M + +[extra] +; http://symfony.com/doc/current/performance.html +opcache.memory_consumption=256 +opcache.max_accelerated_files=20000 +opcache.preload=/var/www/html/preload.php +opcache.preload_user=www-data +opcache.validate_timestamps=0 +realpath_cache_size = 4096K +realpath_cache_ttl = 600