my php.ini values
upload_max_size = 14000M
post_max_size = 14000M
if i increase value more than 14000M, $_POST can’t be accessed and using that value i can upload a file of 1.5GB only and can’t upload a file of 2.14GB.
Here i have three questions
- What should i do so $_POST array also keep in working and i can also
upload a file of 2.14 GB. - Why $_POST is not working when i exceed
value more than 14000M - 14000M should mean 14GB, isn’t so? if so
then why i can’t upload file of 2.14GB
i found answer to my question after 2 days work.
This is a bug in PHP which allow us to put *_max_size = 14000M and don’t allow us to upload a file of 14000MB.
Reference https://bugs.php.net/bug.php?id=35578
We can’t upload file for more than 2047MB, so following values are meaning less
and should be converted to its maximum value like
So now you can upload about 1.99GB File