Large Upload Files
| From: | Robert | Date: | Sat, 17 May 2003 12:26:11 +0000 |
| Subject: | Large Upload Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148018@lists.php.net to get a copy of this message | ||
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.
--
Best Regards,
Robert