|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13435 fileupload and filedownload
Submitted: 2001-09-25 13:37 UTC Modified: 2001-10-28 12:19 UTC
From: saibot at t-sasse dot de Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.6 OS: windows 2000 pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
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:
Solve the problem:
4 + 21 = ?
Subscribe to this entry?

 [2001-09-25 13:37 UTC] saibot at t-sasse dot de
While uploading thru intranet, the PHP-process uses 99% of CPU, lots of memory (up to twice as much as the file itself) and takes 3/4 hour for 40 MB. While sending this file back using fopen/passthru, it takes a lot time until the browsers download-dialog opens. Then the transfer itself ist very quick !

That's why I guess it is not a http-problem, but a problem in handling files or handling memory ! Another hint on this is, that large files seem to get back corrupt, as testing a large and downloaded file resulted in some crc-errors. On small files all works fine.

This one might be relatet to the bug 10800 (or 10080 %o),
so have a look at that.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-25 13:43 UTC] saibot at t-sasse dot de
Ahhm.... forgot the environment:

Win2kPro, Apache (latest),MySQL,RAID-System for IDE, 128MB of ram and about 40 GB free harddisk. The php.ini was configured for 100mb posts and 100mb files, using 64 MB of memory for each script.
 [2001-09-25 17:11 UTC]
I'm working on this..

 [2001-10-28 12:19 UTC]
This should be fixed in CVS now. You can try the latest 
development build from but make
sure it's dated after 27th of October 2001.

Also, there are some minor leaks still in the new code.
If you encounter such leaks, please send the shortest
possible code + html with which you can reproduce the leak
to (or me) so we can get rid of these

The fix will be in PHP 4.2.0.


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Dec 01 23:01:24 2020 UTC