Manual:Suhosin

Suhosin is a patch for the PHP code and, differently, an extension which hardens the PHP and aims to protect servers and users from known and unknown flaws in PHP. The Suhosin Hardened-PHP Project homepage is http://www.hardened-php.net/suhosin/.

The most common use is the dynamic linking of the Suhosin extension suhosin.so into PHP. In case of problems, you then can easily deactive the Suhosin extension in PHP by simply out-commenting the linking line in php.ini (shown below).

Suhosin extension settings for use with MediaWiki
When you downloaded and installed the extension suhosin.so from http://www.hardened-php.net/suhosin/download.html, you should expressly set suhosin.get.max_value_length in your  to a higher value (which overwrites the suhosin built-in default of 512), such as [suhosin] suhosin.get.max_value_length = 1024 extension=suhosin.so and in your MediaWiki  add a corresponding setting for $wgResourceLoaderMaxQueryLength $wgResourceLoaderMaxQueryLength = 1024;
 * out-comment the following line if you want to run your PHP without Suhosin extension
 * for example, if the extension makes trouble