79758131

Date: 2025-09-07 13:19:29
Score: 0.5
Natty:
Report link

There can be another reason for the POST data being empty : sys_temp_dir

Check your php logs for errors like :
PHP Warning: PHP Request Startup: Unable to create temporary file, Check permissions in temporary files directory.
PHP Warning: PHP Request Startup: POST data can't be buffered; all data discarded

It seems that for requests with large amounts of data, PHP will store them as temp files in the temp dir.

This dir is defined an init-param : sys_temp_dir

If its set incorrectly, or is not writable, temp files cannot be created and the large request data is discarded.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: manojmo