Priyadarshni
Priyadarshni

Reputation: 194

Large file upload issue

I want to upload upto 10GB files using a normal php form. But after increasing the below values,

upload_max_filesize
post_max_size
php_value upload_max_filesize
php_value post_max_size
request_terminate_timeout
FcgidMaxRequestLen

I can upload a file upto 3GB without any problem. But when it goes beyond that there is an timeout issue when transferring the files from local server to the CDN am using. I also use progress bar to indicate the upload process which stops when a timeout issue happens.

Upvotes: 3

Views: 259

Answers (2)

David Avsajanishvili
David Avsajanishvili

Reputation: 8036

You can try IaaS solutions instead.

For example, our service Uploadcare - supports uploading files up to 5GB, and the uploaded files are available on CDN instantly. If the size limit is too low, we can increase it for you.

Upvotes: 1

meda
meda

Reputation: 45500

You can set time limit like this :

<?php
set_time_limit(0);//unlimited

Not recommended to set to unlimited but you can try it and once you have a good estimate about the time you adjust it.


set_time_limit

(PHP 4, PHP 5)
set_time_limit — Limits the maximum execution time

Upvotes: 1

Related Questions