Re: php File upload

From: Date: Thu, 07 Aug 2008 09:01:06 +0000
Subject: Re: php File upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277800@lists.php.net to get a copy of this message
Tom wrote: > Hi, > > on a linux system (Suese 10.2) with 1 GB memory its not possible to > upload via http a 1 Gb File. Thats no limit problem on my php > config. i can look the mem stats when uploading and the growing tmp > file. If the temp file has 900 MB, Main Memory free is 0 and the > script aborts and php deletes the tmp file. > > Why don't php use swap memory ? It doesn't need to - as you've noticed, the uploaded file is being written to disk, it's not being kept in memory. This sounds like a php limit problem to me. /Per Jessen, Zürich

« previous php.general (#277800) next »