Upload file size limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I'm trying to allow uploads for more than 2GiB (2147483648 bytes) on a site. I have set all the configurations that one would expect to limit this:
PHP upload_max_filesize=0
PHP post_max_size=0
Apache LimitRequestBody 4294967296 (that's 4GiB, to see if a real value helps here rather than a 0 or a default)

I still hit a limit at 2GiB (I can upload a file of one byte less just fine)

Running PHP 5.5.9 on Ubuntu 14.04.3 (and yes, it's all 64-bit with ext4 file systems)


What is weird is that similar settings on an older version of PHP 5.3.10 on Ubuntu 12.04.5 works just fine (at least up to 7.02GiB that I've tested with) That looks like a regression. I guess it could be something to take up with the PHP packagers for Ubuntu...

I really don't fancy trying to compile all the bits of PHP to make a patched version that would handle this (that seems to be the suggestion I get from googling the problem)

Cheers
Pete

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux