php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11056 file upload (size > 1MB) takes too much time
Submitted: 2001-05-23 11:47 UTC Modified: 2001-10-28 17:22 UTC
From: torben at tribbles dot de Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.4pl1 OS: Win98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: torben at tribbles dot de
New email:
PHP Version: OS:

 

 [2001-05-23 11:47 UTC] torben at tribbles dot de
The same problem discribed in #10800:

I'm using a simple upload-form to submit name, version and file to php-script. When filesize of the "to be uploaded" file is < 4MB the upload tooks place in a few seconds! Greater files do exist in temp-directory a few seconds after submit-button in browser is hit BUT nevertheless more and more MB are submitted to the apache (which slowing down the system) and the PHP-file neither comes to an end nor produces a timeout...

Thanks in advance for any hinds - with kind regards
Torben

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 14:49 UTC] sniper@php.net
Duplicate of #10800


 [2001-10-28 17:22 UTC] sniper@php.net
This should be fixed in CVS now. You can try the latest 
development build from http://www.php4win.com/ 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 php-dev@lists.php.net (or me) so we can get rid of these leaks. 

This fix will be in PHP 4.2.0.

Also check that your memory_limit, post_max_size and upload_max_filesize are big enough for the file.
Only the memory_limit problem should be gone with this fix.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC