php optimization opcache and realpath

This commit is contained in:
Benjamin Brummer
2025-01-13 12:22:01 +00:00
parent 7bae300fd2
commit 44b460bf13

22
debian/php/php.ini vendored
View File

@@ -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