Re: repost: still having Upload Problem

From: Date: Thu, 12 Oct 2000 17:52:43 +0000
Subject: Re: repost: still having Upload Problem
Groups: php.general 
Request: Send a blank email to php-general+get-19840@lists.php.net to get a copy of this message
Addressed to: "Ingram, Bryan" <BIngram@sixtyfootspider.com> php-general@lists.php.net ** Reply to note from "Ingram, Bryan" <BIngram@sixtyfootspider.com> Thu, 12 Oct 2000 09:50:53 -0500 > The problem is that when uploading large files, when the apache httpd > process handling the upload grows to a size of around 8500000 bytes it > aborts and PHP returns a userfile of "none." The problem isn't with my > code since smaller files work fine. > Are you sure you have enough free space in the directory where the files are uploaded into. (The temporary directory where apache puts them before php moves them.) > At this point, my theory is that either a PHP or Apache memory limit for > the httpd process is being reached. By analyzing the httpd process in > question via top I've determined that the procedure aborts when the httpd > process grows to a size of approx 8,500,000 bytes. > I _think_ you will find it is an Apache limit. I once did an experiment where I used this file as the <FORM Action=""> of a file upload: ------------------------------------ <? This is a syntax error! ?> ------------------------------------ The results clearly indicated that Apache completes the entire file upload before PHP gets started. Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#19840) next »