I copied a site from localhost to AWS server. I can easily upload files in localhost but when I try uploading in the live site it gives me the error
"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (80 MB) that this server supports."
In php.ini
and .htaccess
and settings.php
I have changed upload_max_filesize
to 80MB and post_max_size
to 164 MB.
And according to this link, , I also disabled mod_security module in apache.
Here it says, this could be AJAX/Jquery error.
Is there something else that could be the cause for this error?
upload_max_filesize = 80M
notupload_max_filesize = 80MB
(M vs MB) same withpost_max_size
Also, check your error logs for e.g suhosin patch error.