anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Mollify File Size Over 4GB Problem #442

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to view a file that size is over 4GB, Mollify displays a random 
file size lower than that, like 1,5GB for example.

Can't upload a file sized over 4GB as well, as nothing appears on Plupload 
plugins list.

using the latest Mollify and Windows server with latest Apache and MySQL, PHP 
is 5.3.

The same problem does not exist in ownCloud for example, so it should be 
Mollify's issue i believe?

Original issue reported on code.google.com by Logic...@gmail.com on 24 Mar 2013 at 9:58

GoogleCodeExporter commented 9 years ago
Just tried to upload a 6GB file and as it is uploading in ownCloud, it 
eventually still throws an error, so i guess it's still related to some bugs in 
PHP itself. Does not seem to be a Mollify's problem after all.

Original comment by Logic...@gmail.com on 25 Mar 2013 at 6:27

GoogleCodeExporter commented 9 years ago
In the end this is due to PHP variable limitation, 32-bit PHP simply cannot 
hold number value that greater than few gigabytes 
(http://stackoverflow.com/questions/7990703/maximum-upload-file-size-in-php-5-3)

Of course, some PHP configuration variables like max memory size and max file 
upload size affect this as well, but the variable limitation cannot be fixed 
decently (some workarounds exist, but don't know if they are good, at least 
look horrible). In future versions of PHP this should fixed.

Original comment by samuli.j...@gmail.com on 26 Mar 2013 at 10:14