I have gone through all the solutions that I could find including these ones but couldn't resolve my problem.
I have made following changes to both php.ini production & development version;
post_max_size = 5000M
upload_max_filesize = 5000M
However it doesn't make any difference. If I am trying to upload image files of large value, I am receiving
below response error in my console-log;
<br />
<b>Warning</b>: POST Content-Length of 11394639 bytes exceeds the limit of
8388608 bytes in <b>Unknown </b> on line <b>0</b><br /> []
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
var data = JSON.parse(this.responseText);
I am hoping to have clarified my issue. Thanks for looking into it in advance !