Uploading files in our app works fine until we hit one that's > 2GB.

error_log shows:

Invalid Content-Length
(-3)Unknown error: Error reading request entity data

I've rebuilt the latest apache 64bit with large file support and I still get this error. Any ideas?

link|improve this question
I'm having this problem too, and I'm using the latest Apache/PHP and CentOS 5.7 64-bit. PHP limits are set to above 4GB, but still cannot upload anything over 2GB?! – Reado Jan 12 at 17:15
feedback

1 Answer

Try checking your .htaccess file. You can modify that to allow larger uploads.

The .htaccess file should look something like this :

php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200

Or you can also change this setting in your php.ini.

http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/

link|improve this answer
…assuming of course that the original poster is running PHP. Hey, @raoul, what are you running? – MikeyB Mar 24 '11 at 17:22
ya. He said apache so I figured it would be PHP. – Physikal Mar 24 '11 at 17:31
We don't use PHP, this is a Perl application. – raoul Mar 25 '11 at 11:52
Anybody think of anything else? – raoul Mar 30 '11 at 14:57
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.