upload - PHP post_max_size overrides upload_max_filesize - Stack Overflow
The normal method to send a file upload is POST, thus also post_max_size should be 16 Mb or more. Incidentally, also memory_limit plays a role. It should be bigger than 16Mb, but since the default value is 128Mb, you won't see this problem. Example php.in...