PHP $_POST array empty although php://input and raw post data is available? | Gordon Luk
I was running into a blank POST array today, but turns out that the reason mine was empty was that my postmaxsize variable in php.ini was set to higher than the amount of physical RAM in the machine. Thanks for the script, It helped me debug the issue....