I am working on a PHP application deployed on a cent os machine having suhosin installed in it. I used dropzone.js with my application and tried to upload a file size more than 20 MB. I configured the ini setting as follows
post_max_size = 200M
max_input_time=600
max_execution_time=300
max_file_uploads=20
upload_max_filesize = 200M
upload_tmp_dir = /custom_dir/tmp
The tmp is writable, apache has been restarted, display_errors is On, ini_get gives the updated values of php.ini.
Error generated by dropzone is Server responded with 0 code.
I tried creating a demo form and uploaded a file size greater than 20 MB it also failed, less than 20MB uploaded working just fine. I thus came to conclusion the error might be fron server side and not from dropzone.
I have reffered Dropzone.js - maxFilesize increase not working, Large File Upload Errors with PHP, 1GB file upload using php, http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/ Still am unable to figure out why it's not working. Can any one help ? I know this seems to be duplicate question but trust me I have tried all the specs still getting the issue