I have an AWS ec2 server setup which is running php 5.6.40 and has following settings
max_execution_time : 3000
max_file_uploads : 50
max_input_time : 600
max_input_vars : 1000
post_max_size : 1000M
upload_max_filesize : 100M
but the file upload is not working. I have putted a simple die in the controller function which displayed when small files are uploaded. but shows ERR_CONNECTION_RESET when using large files greater than 324KB.
I have debugged the code fully it has some conditions in most situations if the file is uploaded successfully within 25-30 seconds the later code runs successfully if the internet is little fluctuating and not able to upload 324KB it shows me an error for that also. I have also checked there is nothing wrong with the code it is working fine on other server.
I have fetched the values of ini in the PHP code so that I get the exact value after overwrite through ini_get_all()