Re: Slow file uploads.

From: Date: Tue, 07 Jan 2003 21:34:48 +0000
Subject: Re: Slow file uploads.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130632@lists.php.net to get a copy of this message
Unfortunately not that I know of with PHP. However, I had to do the same thing for our users here and I found a great solution to be mod_perl for Apache. It writes to disk into a temporary file and then copies that file into the dir you specify. This isn't evangelism, just informing you of how I eventually solved the same problem on my end. Also look into libapreq for Apache... simplifies things even more. However, I'd stick with Apache 1.3.27 if you go this route though, mod_perl's Apache 2 version isn't quite up to production snuff. Hope this helps. At 06:26 PM 1/7/2003 +0100, Claes Gustavsson wrote:
Hi.... I'm developing a site where the user shall be able to upload files. The size of theese files can range from approx. 1-500 Mb. The problem is that the file upload is stored in memory and starts to swap with large files (~ > 100 Mb). I want the uploaded file to be written directly to disk. Is there any settings for this? Server info: Cobalt RaQ 4 512 Mb RAM Cobalt Linux release 6.0 (Shinkansen-Decaf) apache 2.0.43 PHP 4.2.3 /Claes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- Tim Meader ODIN Unix Group ACS Government Services, Inc. - (301) 286-8013 tmeader@cne-odin.gsfc.nasa.gov

« previous php.general (#130632) next »