The file php.ini, upload_max_filesize = 1M In the settings xenforo. ACP -> Options -> Attachments: Maximum Attachment File Size 1024 (KB) ACP -> Options -> Attachments: Maximum Attachment Image Dimensions 1920x1080 I have the following problem. When I try to download the file "1.zip" size=4MB, i get an error now "The uploaded file is too large." The file is not downloaded to the server. And when I try to download a file "1.jpg", size=4MB. It is downloaded to the server, and then writes an error "The uploaded file is too large." How can I do that I get error before download the file "1.jpg" to the server?