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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Dec 27 15:01:29 2024 UTC