Files over 2GB

140 views
Skip to first unread message

Jesus Moreno

unread,
Feb 26, 2015, 6:00:16 PM2/26/15
to jquery-f...@googlegroups.com
I have configured my server to allow for files larger than 2G to be uploaded (9G to be exact) and can see the file upload in the temp folder.  The problem happens when the code executes move_uploaded_file and then the file uploaded in the temp folder disappears as well as the expected destination file.  This works beautifully on files less than 2Gb.  Any help appreciated.

PHP.INI

upload_max_filesize = 9G

post_max_size = 9G

max_execution_time = 200

max_input_time = 200

memory_limit = 256M

PHP Version: 5.5.14

Jesus Moreno

unread,
Mar 2, 2015, 9:39:26 AM3/2/15
to jquery-f...@googlegroups.com
After quite a bit of research I have found that this is a known bug in PHP 5.5.  After compiling and installing PHP 5.6 there were no more issues.

Ryan Snakes

unread,
Mar 30, 2017, 7:53:06 PM3/30/17
to jQuery-File-Upload

I'm having the exact same issue with PHP 7.1.3  (with Apache on CentOS 7).
In the server error log, it's reporting:  Error while attempting to read POST data: 408

Can anyone recommend anything to resolve this?
I've had the same code successfully upload up to 8gb files in a different environment (CentOS 6 with PHP 5.6)

Many thanks.

Pete Clark

unread,
Aug 9, 2017, 11:58:16 AM8/9/17
to jQuery-File-Upload

Wow - I have been trying this in WAMP PHP5.5 for 3 days! 

Server is PHP 5.6 - upload the test there, and the test works.
Reply all
Reply to author
Forward
0 new messages