note 78064 deleted from features.file-upload by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 18:43:35 +0000 |
| Subject: | note 78064 deleted from features.file-upload by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155168@lists.php.net to get a copy of this message | ||
Note Submitter: ragtime at alice-dsl dot com
----
OK,... I got it... finally!
If some of you have also problems uploading large files but the usual sizes/times in php.ini are ok,
please check
session.gc_maxlifetime
when you are using session management with your upload script!
The default value is 1440 which is just 24min... so with only 600kbit/s upload rate the session will
be closed automatically after uploading
about 100MB. Actually you are able to upload more, but the file won't be copied from the
temporary to the destination folder... ;-)
You can set the value also directly inside the php-script via
<? ini_set("session.gc_maxlifetime","10800"); ?>