mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-14 13:01:15 +00:00
Sane defaults for php.ini
This commit is contained in:
42
Dockerfiles/base/data/php.d/php-5.3.ini
Normal file
42
Dockerfiles/base/data/php.d/php-5.3.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-5.4.ini
Normal file
42
Dockerfiles/base/data/php.d/php-5.4.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-5.5.ini
Normal file
42
Dockerfiles/base/data/php.d/php-5.5.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-5.6.ini
Normal file
42
Dockerfiles/base/data/php.d/php-5.6.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-7.0.ini
Normal file
42
Dockerfiles/base/data/php.d/php-7.0.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-7.1.ini
Normal file
42
Dockerfiles/base/data/php.d/php-7.1.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-7.2.ini
Normal file
42
Dockerfiles/base/data/php.d/php-7.2.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
42
Dockerfiles/base/data/php.d/php-7.3.ini
Normal file
42
Dockerfiles/base/data/php.d/php-7.3.ini
Normal file
@@ -0,0 +1,42 @@
|
||||
; ############################################################
|
||||
; # 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
|
||||
memory_limit = 512M
|
||||
|
||||
|
||||
; Timeouts
|
||||
max_execution_time = 180
|
||||
max_input_time = 180
|
||||
|
||||
|
||||
; Uploads
|
||||
post_max_size = 256M
|
||||
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
|
||||
Reference in New Issue
Block a user