trypost/docker/php.prod.ini

21 lines
523 B
INI
Raw Normal View History

; TryPost — PHP settings for production.
memory_limit = 256M
upload_max_filesize = 1G
post_max_size = 1G
max_execution_time = 60
max_input_vars = 5000
; OpCache hardened for production: no timestamp checks, larger interned-string buffer.
opcache.enable = 1
opcache.memory_consumption = 192
opcache.max_accelerated_files = 20000
opcache.validate_timestamps = 0
opcache.interned_strings_buffer = 16
; Security
expose_php = Off
display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = /proc/self/fd/2