From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721 Description of problem: I have writen a php file to upload files, but I get an error 413. The size of the files are about 6 MB, however I have set the following parameters (memory_limit, post_max_size & upload_max_filesize) in the php.ini above 6 MB. Looking at the apache error logs I see: Requested content-length of XXXXXXX is larger than the configured limit of 524288, referer: http://XXXXXXXX I have looked at both php.ini and httpd.conf for a setting of 524288. But had no luck. I also tried the following setting in the httpd.conf LimitRequestBody 0 But, still got the same error message. How do I change apache to recieve files larger the 512kb? P.S. The upload does work for files less than 512kb. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Open the php web file 2. Select a large file to upload 3. When submitted I get an error 413 Additional info:
You need to edit the file /etc/httpd/conf.d/php.conf and alter the LimitRequestBody setting for PHP scripts.