Re: php File upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> schrieb im Newsbeitrag 
news:g7hfsc$aur$2@xxxxxxxxxxxxxxxxxxx
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux