The max_input_vars limitation and setup improvements

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 1.8.12rc1, 2.0.0rc2
    • Component/s: Frontend (F)

      PHP 5.3.9 introduced a new configuration variable max_input_vars http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars which causes trouble when submitting forms with lot's of data (e.g. thousands of hosts). Additionally, there's an extension called Suhosin, that also limits this parameter. This should be considered because it comes be default with the debian lampp package.

      So, basically, we need to add checks for the following parameters in our setup:
      max_input_vars
      suhosin.post.max_vars
      suhosin.request.max_vars

      It would also be great to improve the overall logic of the setup, so it could check if:
      1. some of the values could be set at runtime and not ask the user to set them themselves;
      2. check, what parameters are relevant to the current configuration, i.e. ignore "max_input_vars" if PHP is older then 5.3.9, or ignore suhosin parameters, if it's not installed.

            Assignee:
            Unassigned
            Reporter:
            Pavels Jelisejevs (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: