PHP suhosin

I need to adjust the suhosin.get.max_value_length and the using a php.ini file doesn’t do it, but I have a couple alternative options that will work. My question: Is one of these preferable to the other?

  1. Using .htaccess: php_value suhosin.get.max_value_length 4096

or

  1. In the home directory:

    /home/username/.php/5.3/phprc/suhosin.get.max_value_length 4096

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you’re already using an .htaccess file in that directory, adding another directive to it won’t hurt anything. I’ve never heard of using a phprc file, that’s a new one on me. .htaccess imposes a slight burden on Apache, but it’s really trivial unless you are Yahoo or something.

Walter

On Apr 13, 2013, at 7:47 PM, Todd wrote:

I need to adjust the suhosin.get.max_value_length and the using a php.ini file doesn’t do it, but I have a couple alternative options that will work. My question: Is one of these preferable to the other?

  1. Using .htaccess: php_value suhosin.get.max_value_length 4096

or

  1. In the home directory:

/home/username/.php/5.3/phprc/suhosin.get.max_value_length 4096

Todd
http://xiiro.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve not used phprc either but any directives in that file will obviously override the php.ini.

The other option I have is upgrading to PHP 5.4 which doesn’t include the Suhosin patch set.

Todd
http://xiiro.com

If you’re already using an .htaccess file in that directory, adding another directive to it won’t hurt anything. I’ve never heard of using a phprc file, that’s a new one on me. .htaccess imposes a slight burden on Apache, but it’s really trivial unless you are Yahoo or something.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Todd
You might have already found this, if not it might be of help:

Mike

On Apr 14, 2013, at 1:47 AM, Todd wrote:

I need to adjust the suhosin.get.max_value_length and the using a php.ini file doesn’t do it, but I have a couple alternative options that will work. My question: Is one of these preferable to the other?

  1. Using .htaccess: php_value suhosin.get.max_value_length 4096

or

  1. In the home directory:

/home/username/.php/5.3/phprc/suhosin.get.max_value_length 4096

Todd
http://xiiro.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Mike. That’s new to me. I’ll read it.

Todd
http://xiiro.com

You might have already found this, if not it might be of help:
http://forums.cpanel.net/f5/how-do-i-modify-suhosin-settings-221842.html


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options