On a Suhosin enabled server, the values of suhosin parameters for example “suhosin.post.max_vars” are updated in the PHP configuration file i.e. php.ini. By default, non of the parameter is listed in the php.ini file and you have to mention the parameter and it’s new value manually.
In order to increase the value of suhosin.post.max_vars from 2000 to 3000, locate the server side php.ini file
# php -i | grep php.ini
and define the parameter and the new value at the end of the file as shown below
[suhosin] suhosin.post.max_vars = 3000
The values of other parameters can be updated in the same way, one per line. Save the file and restart the Web server.
# service httpd restart
To verify the new value, you can either execute the command
# php -i | grep suhosin.post.max_vars
OR create a phpinfo.php file and browse it.
http://yourserverip/phpinfo.php
Comments are closed.