SigmaOne - Suhosin maximum POST

Category: 
SigmaOne

If your server utilizes Suhosin to hardened the PHP, such as ubuntu LAMP stack package, you will need to increase the maximum Post and other variable in order for SigmaOne configuration forms to work as expected.

Increasing value via php.ini file

You can append these lines into php.ini file and restart apache server afterwards

suhosin.post.max_vars = 2000 
suhosin.request.max_vars = 2000

Increasing value via .htaccess file

Alternatively, you can append these lines to Drupal standard .htaccess file

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_flag magic_quotes_gpc                 off
  php_flag magic_quotes_sybase              off
  php_flag register_globals                 off
  php_flag session.auto_start               off
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_flag mbstring.encoding_translation    off

  # Append this line
  php_value suhosin.get.max_vars 2000
  php_value suhosin.post.max_vars 2000
  php_value suhosin.request.max_vars 2000
</IfModule>

No need to restart apache server if you increase the value via .htaccess file