[mapserver-users] PHP max_input_vars can effect Mapbender administration and block requests

Astrid Emde astrid.emde at wheregroup.com
Thu Feb 16 02:33:52 PST 2012


some of you may have problems saving changes within the Mapbender
administration for example when you have a WMS with many layers. I wrote 
a mail before about Suhosin blocking requests when the Suhosin-variables 
are set too restrictive  [1].

The problem can also occur, when the PHP variable max_input_vars [2] is 
not set.

You may get a log message like this:

"PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini."

The default of this variable is 1000. If you have WMS with many layer 
you may have to increase this variable.

I added this information to the Mapbender wiki [3][4].

[2] http://php.net/manual/en/info.configuration.php
[3] http://mapbender.org/PHP_Configuration#PHP_Configuration
[4] http://mapbender.org/Suhosin


Mit freundlichen Grüßen

Astrid Emde

FOSSGIS Konferenz 2012
20.-22. März 2012 in Dessau

  Astrid Emde
  WhereGroup GmbH&  Co.KG
  Eifelstraße 7
  53119 Bonn

  Fon: +49(0)228 90 90 38 - 19
  Fax: +49(0)228 90 90 38 - 11

  astrid.emde at wheregroup.com

Amtsgericht Bonn, HRA 6788
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
  pgp-public key:
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
   Signed and/or encrypted mail is highly appreciated

More information about the mapserver-users mailing list