Powered by eUKhost®

Announcement

Collapse
No announcement yet.

How to increase max_input_var value for your web directory.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to increase max_input_var value for your web directory.

    The Problem:
    If you are using web applications such as magento, it is common that you encounter error like below:
    Warning: your hosting provider limits the maximum number of fields to post in a form: 1000 for max_input_var

    The Solution:
    By default the max_input_var will be 1000, this is some kind of security prevention from the PHP module.
    Therefore if your application would require higher number of max_input_var, you can increase the defined value higher than the requirement by adding the below line into the .htaccess file in the web files main page directory.
    ----------------------
    php_flag max_input_var 1234
    ----------------------
    Replacing 1234′ with the value you want to set

    Enjoy...!!!!!!
ban-img
Working...
X