On 01/15/2014 03:53 PM, Yuri D'Elia wrote: > On 01/15/2014 03:41 PM, MOKRANI Rachid wrote: >> Everything works I can upload iso DVD 4.4gb with the following parameters. >> >> php.ini >> post_max_size = 0 >> upload_max_filesize = 0 >> >> http.conf >> LimitRequestBody 5120000000 >> >> config.ini >> //$maxSize = ini_get('upload_max_filesize'); >> >> But in the same config, if I set manually $maxSize in config.ini (5000M or >> 5G or 5120000000) , the upload stop approximately to 1gb > > I'd have to look at this, but the code looks ok.
Hah.. in the upload form, I also add the hidden field "MAX_FILE_SIZE" (which is produced according $maxSize). Turns out PHP has also the same overflow issue parsing this field when it is read back... You need to remove the lines: htdocs/include/grants.php:23 htdocs/include/newtickets.php:31 to fix the issue. Since I don't know when the issue will be fixed in PHP, I simply have to disable this additional field.