Skip to content

Commit 41abb7f

Browse files
committed
fix: PHP post_max_size set higher than upload_max_filesize
The maximum size of file upload depends on both variables and post_max_size should be set higher. 70M is appropriate because upload_max_filesize is 64M and the 6M difference is the same as when the values are at their defaults (2M and 8M). see https://www.php.net/manual/en/ini.core.php#ini.post-max-size
1 parent fc90691 commit 41abb7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php.ini-production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ request_order = "GP"
5757
register_argc_argv = Off
5858
auto_globals_jit = On
5959

60-
post_max_size = 32M
60+
post_max_size = 70M
6161
auto_prepend_file =
6262
auto_append_file =
6363

0 commit comments

Comments
 (0)