Increase php limits

This commit is contained in:
Tom Wiesing 2020-10-07 12:37:55 +02:00
parent e94f1a04b5
commit 19b584408d
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
3 changed files with 11 additions and 9 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
authorized_keys authorized_keys
.vagrant .vagrant
.env .env
*.zip *.zip
*.nq

View file

@ -1,13 +1,14 @@
; File Uploads up to 250 MB ; File Uploads up to 1GB
; Seems to be reasonable compromise between the default (2MB) and maximum available space
file_uploads = On file_uploads = On
upload_max_filesize = 250M upload_max_filesize = 1000M
post_max_size = 250M post_max_size = 1000M
; Composer uses an absurd amount of memory ; Composer uses an absurd amount of memory
; 4GB ought to be enough ; 4GB ought to be enough
memory_limit = 4G memory_limit = 4G
; If execution time turns out to be a problem ; Increase various limits for some long running WissKI operations
; we should uncomment this max_execution_time = 3000
; max_execution_time = 600 max_input_time = 600
max_input_nesting_level = 640
max_input_vars = 10000

View file

@ -1,3 +1,3 @@
# update the max body size to fit with php's configuration. # update the max body size to fit with php's configuration.
# should be kept in sync with distillery/resources/compose/barrel/conf/wisski.ini. # should be kept in sync with distillery/resources/compose/barrel/conf/wisski.ini.
client_max_body_size 250m; client_max_body_size 1000m;