PHP post_max_size overrides upload_max_filesize
upload_max_filesize is the limit of any single file. post_max_size is the limit of the entire body of the request, which could include multiple files. Given post_max_size = 20M and upload_max_filesize = 6M you could upload up to 3 files of 6M each. If instead post_max_size = 6M and upload_max_filesize = 20M then you could only … Read more