Re: Large Upload Files

From: Date: Sat, 17 May 2003 13:33:30 +0000
Subject: Re: Large Upload Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148021@lists.php.net to get a copy of this message
Ah, I found the problem. RedHat has an additional place they stick some of the apache configuration. Thanks to greg at getnetex dot com for posting a note on the php web site regarding this. --quoting from his note---- My actual problem was a gem of a file httpd/conf.d/php.conf which contained -- <Files *.php> SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 524288 </Files> the cause of my httpd/errorlog file noting... "Requested content-length of 2172475 is larger than the configured limit of 524288" -- Best Regards, Robert On Sat, 17 May 2003, Robert wrote: > I am trying to upload large files using PHP. I can upload files up to > 512K, but anything larger fails. The browser shows a "page cannot be > displayed" message when this is attempted. So far the only advice I have > found on the web is to do the things I have already tried. > > Things I have already done include: > > setting: LimitRequestBody in httpd.conf > in a directory context > in a location contect > in a virtual host context > > setting: upload_max_filesize in php.ini > setting: post_max_size in php.ini > > The httpd error_log reports the following when a large file upload is > attempted: > > [Sat May 17 07:20:44 2003] [error] [client xxx.xxx.xxx.xxx] Requested > content-length of 764385 is larger than the configured limit of 524288, > referer: http://xxxx.xxxx.xxxx/xxxxxx/xxxx.php > > > The system is running RedHat linux 8.0. Any assistance will be > appreciated. > >

« previous php.general (#148021) next »