PHP 4.0 Bug #9294: File uploads take ~70 times longer than downloading files on Apache/PHP.

From: Date: Fri, 16 Feb 2001 08:57:16 +0000
Subject: PHP 4.0 Bug #9294: File uploads take ~70 times longer than downloading files on Apache/PHP.
Groups: php.dev 
Request: Send a blank email to php-dev+get-46725@lists.php.net to get a copy of this message
From: paul@gryphyn.com Operating system: Solaris 2.6, 7, 8 and Windows 2000 PHP version: 4.0.2 PHP Bug Type: Performance problem Bug description: File uploads take ~70 times longer than downloading files on Apache/PHP. 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 Bug report at: http://bugs.php.net/?id=9294&edit=1

« previous php.dev (#46725) next »