I have an Apache server running a PHP script that receives data via a POST request that has several fields. One of the fields may be very long, and when it reaches somewhere between 512 kB and 1 MB it's discarded, i. e. the received POST does not contain this field at all, but other fields are present and OK.
Here are the current relevant settings in php.ini
:
upload_max_filesize = 64M
memory_limit = 128M
post_max_size = 128M
suhosin.post.max_value_length = 64000000
suhosin.request.max_value_length = 64000000
I'm trying to send 1024 * 1024 symbols in a single POST variable, and this variable is still discarded.
P. S. Can't find how to get Suhosin's log.
Update: I have disabled Suhosin by specifying suhosin.simulation = On
and now long data successfuly makes it to my PHP script. The problem is I don't want to disable Suhosin completely, I only need to tune the limit.