Unable to upload files. Though the maximum file size limit is 80 MB, can't upload even 50 kb files 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?
Some things that can break file uploads:


upload_max_filesize and post_max_size ;
memory_limit ;
Unwritable tmp directory.