Some of you may have problems saving changes within the Mapbender administration. This is not a Mapbender problem. It can be caused by Suhosin, as Suhosin defines limits for example for number of POST variables, maximum length of arrays or maximum length of values.
What is Suhosin?
Suhosin is an open source patch for PHP. "The goal behind Suhosin is to be a safety net that protects servers from insecure PHP coding practices." In some Linux distributions (notably Debian and Ubuntu) it is shipped by default. http://en.wikipedia.org/wiki/Suhosin
What can you do? You can deactivate Suhosin to run the simulation mode:
suhosin.simulation = on
In simulation mode violations are logged as usual, but nothing is blocked. http://www.hardened-php.net/suhosin/configuration.html#suhosin.simulation
The log-messages will tell you which violations take place and you can increase the parameters.
It may be necessary to increase the following parameters:
suhosin.request.max_value_length suhosin.request.max_vars suhosin.get.max_array_depth suhosin.get.max_array_index_length suhosin.get.max_name_length suhosin.get.max_totalname_length suhosin.get.max_value_length suhosin.get.max_vars suhosin.post.max_vars
Set PHP variable
max_input_vars = 5000 (default is 1000 which may be not enough for WMS with many layers)
Find out more about the parameter at: http://www.hardened-php.net/suhosin/configuration.html
After changes you have to restart your apache