Eero,
I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
available. That logically should be enough to allow me to upload a 2
GB file, I would think.
"PHP is not built with large file support on 32 bit x86, probably other
32 bit platforms, all releases of CentOS 4
Additional Information I verified that upstream does not have this
problem. It is severe enough for my use (scientific processing) that I
am changing OS."
While the report is for CentOS4, it may be related to your problem.