Files
docker-php-fpm/Dockerfiles/base/data/php.d/php-7.1.ini

45 lines
1.1 KiB
INI

; ############################################################
; # Devilbox PHP defaults for all Docker images
; ############################################################
; This php.ini is applied to the base container and inherited
; by every image built on top of it.
; Note that prod and work images overwrite specific settings
; for their use-case.
[PHP]
; Memory
; Note: "memory_limit" should be larger than "post_max_size"
memory_limit = 512M
; Timeouts
max_execution_time = 180
max_input_time = 180
; Uploads
; Note: "post_max_size" should be greater than "upload_max_filesize"
post_max_size = 384M
upload_max_filesize = 256M
max_file_uploads = 20
; Vars
variables_order = EGPCS
max_input_vars = 8000
max_input_nesting_level = 64
; Error reporting
; Note: error_log is dynamic and handled during start to set appropriate setting
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
xmlrpc_errors = Off
report_memleaks = On
display_errors = Off
display_startup_errors = Off
track_errors = On
log_errors = On