August 20, 2015

[SOLVED] Warning: Your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields allowed in a form: 1000 for suhosin.post.max_vars.

A script is getting this error, so we need to raise the value to about 1500.

Warning: Your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields allowed in a form: 1000 for suhosin.post.max_vars.
1000 for suhosin.request.max_vars.
Please ask your hosting provider to increase the Suhosin limit to 4581 at least, or you will have to edit the translation files.

Thank you!

SOLVED:

Just edit your php.ini (which was loaded) and add:

suhosin.request.max_vars = 5000
suhosin.post.max_vars = 5000

P.S. Please backup your php.ini before this.

0 comments:

Post a Comment