From 2ffe63d8f065c9a9f1090afd40e5a07f92bca3a7 Mon Sep 17 00:00:00 2001 From: Michail Date: Fri, 12 Aug 2022 17:08:46 +0400 Subject: [PATCH] Increase maximum size of an uploaded file to 50 Mbyte --- php.ini-development | 4 ++-- php.ini-production | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/php.ini-development b/php.ini-development index 4a62b5af60e10..6a54c24200ac9 100644 --- a/php.ini-development +++ b/php.ini-development @@ -693,7 +693,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; https://php.net/post-max-size -post_max_size = 8M +post_max_size = 50M ; Automatically add files before PHP document. ; https://php.net/auto-prepend-file @@ -845,7 +845,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; https://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = 50M ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20 diff --git a/php.ini-production b/php.ini-production index 8a1eb9674e2f3..5c64cff86cd60 100644 --- a/php.ini-production +++ b/php.ini-production @@ -695,7 +695,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; https://php.net/post-max-size -post_max_size = 8M +post_max_size = 50M ; Automatically add files before PHP document. ; https://php.net/auto-prepend-file @@ -847,7 +847,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; https://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = 50M ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20