Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Error Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) on ajax upload

Tags:

ajax

php

apache

I am getting following error while trying to upload file with size more than 1 MB

Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) on ajax upload

Live Link : http://d.5me.net

Please help How can i resolve this?

Edit

PHPINFO: http://5me.net/phpinfo.php

Thanks in advance

like image 242
Manish Goyal Avatar asked Oct 31 '25 21:10

Manish Goyal


1 Answers

If you're using nginx:

set client_max_body_size XXm; in your http, server, or location context.

like image 52
AndrewPK Avatar answered Nov 02 '25 11:11

AndrewPK



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!