Re: php File upload
| From: | Tom | Date: | Sat, 09 Aug 2008 13:17:18 +0000 |
| Subject: | Re: php File upload | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277890@lists.php.net to get a copy of this message | ||
Hi Per,
Execution Time ist set to 72000, i learned to set it not to low for tests
:-)
I learned also the last days many things about the php.ini. Many changes
affect later, its mostly for me a trial and error thing and results in much
phenomenon.
At moment its okay, i can upload 1.2 Gb, no problem. I test to upload a 1.9
GB file (reading the max is 2GB a browser can handle), but this failes. I
don't know is this the overhead or what else.
Now i search the max value Browseres can handle for <input type="hidden"
name="MAX_FILE_SIZE" value="" />. Know you this value?
"Per Jessen" <per@computer.org> schrieb im Newsbeitrag
news:g7hfsc$aur$2@saturn.local.net...
Tom wrote:
> Hi Per,
>
> your result is on a suse 8.2 ?
> hmm, i don't know the reason why my suse 10.2 machines do that
> failure. My limits for for post_max_size and upload_max_size is both
> 1500M.
>
> Greets & thanx, Tom
Tom,
check your maximum PHP execution time. I've just done some testing
where the upload was interrupted after 60seconds with this error:
PHP Fatal error: Maximum execution time of 60 seconds exceeded in
Unknown on line 0, referer: http://tintin/uploadbig.php
I increased time to 240seconds, and had no problem uploading a 1Gb file.
This was on a openSUSE 10.3 system with only 256M RAM.
/Per Jessen, Zürich