php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16255 Upload Size > 32MB
Submitted: 2002-03-25 06:35 UTC Modified: 2002-07-05 14:10 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mail at claude-schmitt dot de Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.1.2 OS: Windows 2000 NT
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 44 = ?
Subscribe to this entry?

 
 [2002-03-25 06:35 UTC] mail at claude-schmitt dot de
When i make an Upload with size more than 32MB, the time for this upload is very long (75MB over 45 min in 100MBit Network).
The same file ,the same PHP and Apache config on an Linux System need only 1 minute for transfer.
Please tell me if this bug is solved in Version 4.2

regards
Claude Schmitt

 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-25 07:59 UTC] derick@php.net
You can try for yourself :) There are PHP 4.2.0RC1 binaries at www.php.net/~derick

Derick
 [2002-04-09 03:18 UTC] mail at claude-schmitt dot de
always the same problem, now new is that i can see in the tmp Dir that the filesize increase but very slow.
32MB needs 15 min. on localhost Transfer.
 [2002-04-09 15:04 UTC] ronnen dot miller at pgtv dot com
When I try to upload large files (greater than 25MB) using PHP 4.1.2 (Apache 1.3.20/FreeBSD 4.5) it takes an infinitely long time to complete the transfer.  It will time out before the transfer is complete (and I set the time out for twenty minutes).  I circumvent this bug-driven limitation by having local users access a samba share on the web server, onto which they can move files that are then able to be 'uploaded' (read: copied to the correct filesystem destination) within my PHP script -- but this is not an optimal solution.  I've been waiting for this bug to be resolved for months.  I hope there is a fix for it in 4.2.

Thanks.
-ronnen
 [2002-04-09 15:14 UTC] sander@php.net
There is already a report for this. Don't know which one though... this bugsystem really sucks :(
 [2002-04-10 18:51 UTC] sniper@php.net
..so let's keep this one open.

 [2002-06-29 04:00 UTC] andi@php.net
I'm reclassifying this to performance problem.
Have you tried this with 4.2.1? I think either in that version or 4.3.0-dev some of the file-upload has been changed in order not to buffer the whole file in memory which is what is most probably causing the slow-down.

 [2002-07-05 14:10 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 14:02:33 2024 UTC