48 lines
1.1 KiB
INI
48 lines
1.1 KiB
INI
[PHP]
|
|
; Maximum execution time of each script (in seconds)
|
|
max_execution_time = 1200
|
|
|
|
; Maximum size of POST data that PHP will accept
|
|
post_max_size = 1024M
|
|
|
|
; Maximum allowed size for uploaded files
|
|
upload_max_filesize = 1024M
|
|
|
|
; Maximum input variable nesting level
|
|
max_input_nesting_level = 64
|
|
|
|
; Maximum amount of memory a script may consume
|
|
memory_limit = 2048M
|
|
|
|
; Maximum number of files that can be uploaded via a single request
|
|
max_file_uploads = 20
|
|
|
|
; How many GET/POST/COOKIE input variables may be accepted
|
|
max_input_vars = 5000
|
|
|
|
; Timeout for socket based streams (in seconds)
|
|
default_socket_timeout = 1200
|
|
|
|
; Error reporting
|
|
display_errors = Off
|
|
log_errors = On
|
|
error_log = /var/log/php_errors.log
|
|
|
|
; Session settings
|
|
session.save_handler = redis
|
|
session.save_path = "tcp://redis:6379"
|
|
session.gc_maxlifetime = 86400
|
|
|
|
; OPCache settings
|
|
opcache.enable = 1
|
|
opcache.enable_cli = 1
|
|
opcache.memory_consumption = 256
|
|
opcache.interned_strings_buffer = 16
|
|
opcache.max_accelerated_files = 10000
|
|
opcache.revalidate_freq = 2
|
|
opcache.save_comments = 1
|
|
opcache.fast_shutdown = 1
|
|
|
|
; Timezone
|
|
date.timezone = UTC
|