Setting upload_max_filesize (etc.) for large file uploads

I am trying to upload files through this jQuery plugin: http://aquantum-demo.appspot.com/file-upload

I can upload files up to 1.2 GB without problems. The next largest file I tried was 1.8 GB, and this download failed. I have installed:

max_execution_time = 0 max_input_time = 0 memory_limit = 4000M post_max_size = 3500M upload_max_filesize = 3000M 

What should these values ​​be if this does not work? I need to upload video files up to 2 GB in size using this method.

Thanks in advance!

+1
source share
1 answer

perhaps you are using shared hosting, so memory is limited. and 1.8 GB sounds to me like almost 2 GB, this is the limit for a 32-bit system for the whole, also applies to PHP.

+3
source

Source: https://habr.com/ru/post/1442754/


All Articles