ID:               9294
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Performance problem
 Operating System: Solaris 2.6, 7, 8 and Windows 20
 PHP Version:      4.0.2
 New Comment:

Retested with all versions of PHP 4.0.x and it still failed - super
slow. However with version PHP 4.2.3 it works like a charm. A 200MB
file uploads in 3-4 minutes when the client and server are on the same
windows 2000 server - if uploading from a separate client (machine), to
a separate server (apache web server on W2K), it takes about 30-40
seconds. Very good!


Previous Comments:
------------------------------------------------------------------------

[2001-04-29 13:18:34] [EMAIL PROTECTED]

Please try PHP 4.0.4pl1 or 4.0.5 which is due out tomorrow and open a
new bug report if this still happens.

------------------------------------------------------------------------

[2001-02-16 03:59:04] [EMAIL PROTECTED]

Sorry - I'm also using code like this to do the upload:

<FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="200000000">
Send this file: <INPUT NAME="userfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Send File">
</FORM>

------------------------------------------------------------------------

[2001-02-16 03:57:16] [EMAIL PROTECTED]

When performing a file upload, PHP runs the CPU to 100% and takes 3.5-4
minutes on a Pentium III 850MHz CPU to upload a 10MB file when
downloading the same file on Apache/PHP only takes 3 seconds on the
same host and client. It appears the file is being parsed when being
uploaded. Is there an option to tell PHP to upload the data and nothing
else? Otherwise, it is roughly 70 times slower to upload a file than to
download one.

I'm using Nusphere's CD when installing the software.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=9294&edit=1

Reply via email to