suhosin.post.max_vars: How to increase the value of Suhosin variables?

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

  • 1 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Serveur full (/var/tmp/)

rm -rf /tmp/* service mysql restart service httpd restart

The SSH and rkhunter configuration options should be the same

I just ran rkhunter --check and all was good except this: Checking if SSH root access is allowed...

Comment importer / exporter une base de données via SSH

Lorsque vous travaillez sur des bases de donnes supérieures à 50Mb il est recommandé d'utiliser...

historique bash

La commande "history" sous linux joue un rôle important puisqu'il permet de conserver les...

Désactivez SELinux sur CentOS 7 / RHEL 7

Pré-requis   La procédure pour supprimer et désactiver les fonctionnalités de sécurité SELinux...

Powered by WHMCompleteSolution