Augmente la taille des fichiers uploadables

This commit is contained in:
2016-09-29 10:45:53 +02:00
parent 8a22bc22e0
commit 90512a3be6
2 changed files with 3 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ http {
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
fastcgi_read_timeout 180; fastcgi_read_timeout 180;
client_max_body_size 30M;
include fastcgi_params; include fastcgi_params;
} }
} }

View File

@@ -653,7 +653,7 @@ auto_globals_jit = On
; Its value may be 0 to disable the limit. It is ignored if POST data reading ; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading. ; is disabled through enable_post_data_reading.
; http://php.net/post-max-size ; http://php.net/post-max-size
post_max_size = 8M post_max_size = 30M
; Automatically add files before PHP document. ; Automatically add files before PHP document.
; http://php.net/auto-prepend-file ; http://php.net/auto-prepend-file
@@ -795,7 +795,7 @@ file_uploads = On
; Maximum allowed size for uploaded files. ; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize ; http://php.net/upload-max-filesize
upload_max_filesize = 2M upload_max_filesize = 30M
; Maximum number of files that can be uploaded via a single request ; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20 max_file_uploads = 20