简体   繁体   中英

413 Request Entity Too Large Error in POST from PHP

I am trying to upload a 400 Mb file from my client browser to my website which fails and gives me the 413 request entity too large error in my console.

Although I am able to upload files till 110 Mb..

in my PHP ini file I have

upload_max_filesize = 5000M

post_max_size = 5000M

Request your help on this.

Regards Tandon

This is coming from your webserver, not PHP. Your webserver throws these errors when the request goes to the server, it does not process anything after the error. So, PHP is not involved in this. Check out Apache's limit to POST request size .

Also as @04FS mentioned, also check out https://www.keycdn.com/support/413-request-entity-too-large .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM