uploading large files with php

raw

0 php.ini

1
2
3
4
5
post_max_size = 20G
upload_max_filesize = 20G
max_input_time = 1800
max_execution_time = 30
memory_limit = 16M
raw

2 error-with-5.1gib.txt

FastCGI: server "/var/www/cgi-bin/php-cgi-5.6.0git" stderr:
PHP Notice:  Missing mime boundary at the end of the data for file
51.dat in Unknown on line 0,
referer: http://test.cyberdyne.nr/upload/upload.php
raw

5 browser results.txt

Opera 12.16:
- 4G ok

Chromium 28.0:
- 4G ok
- 5.8G, 11G:
Notice: Missing mime boundary at the end of the data for file 11gib.ts in Unknown on line 0
Possible file upload attack! Here is some more debugging info:

curl 7.29:
- 5.1G, 11G: missing mime boundary at end of data
- 4g: ok
time curl -F file=@11gib.ts http://test.cyberdyne.nr/upload/upload.php

Firefox 24:
- 4G ok
- 5.1G: missing mime boundary

Firefox+Firebug activated: RAM issues
Christian Weiske Christian Weiske
owner

History