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?
Using .htaccess: php_value suhosin.get.max_value_length 4096
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?
Using .htaccess: php_value suhosin.get.max_value_length 4096
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
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.
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?
Using .htaccess: php_value suhosin.get.max_value_length 4096