I've increased params values in php.ini:
upload_max_filesize = 10M post_max_size = 12M
php --ini command in console shows me:
post_max_size => 12M => 12M upload_max_filesize => 10M => 10M
But anyways, when I'm trying to send file > 1mb I get err. In nginx logs I see:
2017/06/03 12:06:40 [error] 16254#16254: *7 client intended to send too large body: 1778665 bytes
fastcgi_param PHP_VALUE "upload_max_filesize = 10M \n post_max_size=12M" in nginx conf doesn't help too.
So, how can I increase max upload file size?