From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Description of problem:
When trying to upload a file larger than 512kb via PHP, I immediatly
get a "Document contains no data" error in any browser (tested w/
Mozilla, Opera, IE, Firefox). Tested also with another script.
PHP is configured to accept uploads up to 10MB.
Error Log Entry:
Requested content-length of 787247 is larger than the configured limit
After some digging in the sources with Thomas Woerner, we believe the
culprit is protocol.c
We verified this problem also on FC3.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have PHP script that does uploads (postnuke in our case)
2. configure PHP to accept larger uploads
3. upload file
4. Sadness. :)
Actual Results: Requested content-length of 787247 is larger than the
configured limit of 524288
Expected Results: no error?
"configured limit" -- "configured" being the important word! In RHEL3
PHP parses request bodies in-memory, so a 512K limit is enforced by
$ grep LimitRequest /etc/httpd/conf.d/php.conf