I have an Apache server with a PHP script that receives data through a POST request with multiple fields. One of the fields can be very long, and when it reaches somewhere between 512 KB and 1 MB, it is discarded, i.e. 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 am trying to send 1024 * 1024 characters in a single POST variable, and this variable is still discarded.
R. S. Can not find how to get the journal Sukhosin.
Update: I disabled Suhosin by specifying suhosin.simulation = On , and now the long data successfully passes to my PHP script. The problem is that I do not want to completely disable Suhosin, I only need to adjust the limit.
source share