I built an education website and it provides courses with large videos. And I built a videos uploader. But I Can not even upload a 4-mins videos.
I increased the following three parameters:
upload_max_filesize = 50G
memory_limit = -1
post_max_size = 100G
This is my PHP.INI FILE:
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = /home/programming-ocean/tmp
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 50G
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20