I had a similar problem, but my configuration was:
post_max_size = 1.8G upload_max_filesize = 1.8G
but I could not upload the 1.2 GB file. The error was the same:
PHP Warning: POST Content-Length of 1347484420 bytes exceeds the limit of 1073741824 bytes in Unknown on line 0
I spent the whole day thinking where the hell is the βlimit 1073741824β coming from!
Decision
Actually, the error was in the php.ini parser: it only understands INTEGER numbers, so in essence it parsed 1.8G as 1G !!
Change of value, for example. 1800M fixed it.
Pls guarantees apache server reboot with apache2 restart service command
Mobiler
source share