Problems uploading large files
| From: | Michael Kunze | Date: | Wed, 14 Aug 2002 16:38:35 +0000 |
| Subject: | Problems uploading large files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86840@lists.php.net to get a copy of this message | ||
Hi all,
there are some bug reports regarding large file uploads, but here is an observation that might give additional hints for solving the problem:
I'm not able to upload files via HTTP POST greater than 102574 KByte (with Mozilla 1.1). This applies no mater what i set max_upload_size, post_max_size, upload_max_filesize and memory_limit to.
When the above limit of data is reached, the tmpfile vanishes from the tmp folder and Apache writes the log line below:
[error] PHP Warning: Only 1284 bytes were written, expected to write 5119 in Unknown on line 0
This is slightly different with uploading using IE. Here the maximum upload size is about 103408 KByte, after which the same behaviour can be observed.
The error message states:
[Wed Aug 14 18:04:37 2002] [error] PHP Warning: Only 2255 bytes were written, expected to write 5119 in Unknown on line 0
With files below 100MByte size everything works fine.
Does anybody have a clue what's going on here? PHP version is 4.2.2 with Apache 1.3.26 on Linux.
Cheers
Michael