• Resolved Afaf Mg

    (@afaf-mg)


    Hi
    How to change (php_value max_input_vars) in my wordpress website ?

    I bought a plugin that allow me to add unlimited table row they asked me to change php_value max_input_vars.

Viewing 8 replies - 1 through 8 (of 8 total)
  • PHP, by default, allows a maximum of 1000 input variables using the GET and POST methods.

    You may be able to increase the limit, to say 3000, by adding the following line to your .htaccess file:

    php_value max_input_vars 3000

    Alternatively, f you have access to your php.ini file, you can also adjust the value there. The default value (1000) is defined in the php.ini file. Just change it to your desired new value.

    Thread Starter Afaf Mg

    (@afaf-mg)

    Thank you
    Can you please tell me where I can find my htaccess file ?

    It will be in the root of your WordPress installation.

    You will need either an FTP program, or use your hosts cPanel, to access your file directories.

    Thread Starter Afaf Mg

    (@afaf-mg)

    I found my .htaccess file and I added php_value max_input_vars 3000 but it gives me Internal Server Error

    Thread Starter Afaf Mg

    (@afaf-mg)

    Thank you
    I resolved the issue

    So sorry… I had to get some sleep 🙂

    Super glad you got it resolved.
    May I ask what you ended up doing to get it working?

    Thread Starter Afaf Mg

    (@afaf-mg)

    Hi
    I removed the line from htaccess and I contacted my host (globat). They gave access to my php.ini where I changed the value from 1000 to 5000

    Perfect.
    Thank you for the extra info.
    Have a wonderful weekend.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘php_value max’ is closed to new replies.