Webmaster Question:
Download Questions PDF

How to set suhosin.post.max_vars in a htaccess file?

Webmaster Interview Question
Webmaster Interview Question

Answer:

The problem is that Apache doesn't know what to do with those values, hence the internal server error. You need to change the lines to the following:
1) php_value suhosin.post.max_vars 8000
2) php_value suhosin.request.max_vars 8000
The php_value causes the setting to be passed along to PHP. If you were setting boolean values (true/false), you would use php_flag instead. This will only work if you are running PHP as an Apache module. Otherwise you have to edit the php.ini file, which may not be an option.

Download Webmaster Interview Questions And Answers PDF

Previous QuestionNext Question
How do you create a report in Google analytics that displays a list of all events?How to get out of the Google sandbox quickly?