mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-18 12:24:09 +01:00
align php settings with recommendations opcache/jit from php.net (aligned for php 8.3 and 8.4), increased buffernumber to allow parallel requests without writing to file
This commit is contained in:
27
debian/php/php.ini
vendored
27
debian/php/php.ini
vendored
@@ -1,14 +1,17 @@
|
||||
[core]
|
||||
# https://www.php.net/manual/en/ini.core.php
|
||||
memory_limit=512M
|
||||
post_max_size = 60M
|
||||
upload_max_filesize = 50M
|
||||
post_max_size = 10M
|
||||
upload_max_filesize = 10M
|
||||
|
||||
# https://www.php.net/manual/en/opcache.configuration.php
|
||||
opcache.enable=1
|
||||
opcache.preload=/var/www/html/preload.php
|
||||
opcache.preload_user=www-data
|
||||
opcache.max_accelerated_files=300000
|
||||
opcache.revalidate_freq=30
|
||||
opcache.jit_buffer_size=256M
|
||||
opcache.jit=1205
|
||||
opcache.memory_consumption=1024M
|
||||
[opcache]
|
||||
# https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended
|
||||
opcache.memory_consumption=128
|
||||
opcache.interned_strings_buffer=8
|
||||
opcache.max_accelerated_files=4000
|
||||
opcache.revalidate_freq=60
|
||||
opcache.enable_cli=1
|
||||
|
||||
[jit]
|
||||
# https://wiki.php.net/rfc/jit_config_defaults
|
||||
opcache.jit=tracing
|
||||
opcache.jit_buffer_size=64M
|
||||
|
||||
Reference in New Issue
Block a user