Reputation: 143
I am making a website for uploading large video files using PHP. But the problem is that i get (ERR_CONNECTION_RESET) error while uploading large files which take more time to upload. It works fine for small files (less than 80-90mb) which take less time to upload. I have added these lines to my user.ini file but still nothing.
max_execution_time = 600
max_input_time = 600
memory_limit = 1024M
post_max_size = 1024M
upload_max_filesize = 1024M
Is there a way to break large files into smaller pieces which can be uploaded without this timeout error or is there any other better way for uploading large files.
Upvotes: 1
Views: 1059
Reputation: 117
you can use split command in Linux
https://linux.die.net/man/1/split
Upvotes: 1