[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


Hello,

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].

[1] 
http://lists.osgeo.org/pipermail/mapbender_users/2011-December/004046.html
[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
http://www.fossgis.de/konferenz/2012
********************************************
----------------------------------

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

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

  astrid.emde at wheregroup.com
  www.wheregroup.com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
  pgp-public key:
  http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
   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