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

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ authorized_keys
.vagrant
.env
*.zip
*.nq

View file

@ -1,13 +1,14 @@
; File Uploads up to 250 MB
; Seems to be reasonable compromise between the default (2MB) and maximum available space
; File Uploads up to 1GB
file_uploads = On
upload_max_filesize = 250M
post_max_size = 250M
upload_max_filesize = 1000M
post_max_size = 1000M
; Composer uses an absurd amount of memory
; 4GB ought to be enough
memory_limit = 4G
; If execution time turns out to be a problem
; we should uncomment this
; max_execution_time = 600
; Increase various limits for some long running WissKI operations
max_execution_time = 3000
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.
# should be kept in sync with distillery/resources/compose/barrel/conf/wisski.ini.
client_max_body_size 250m;
client_max_body_size 1000m;