According to the manual , there really is a default value of 1000
for max_input_vars
(see the table at the top of the page).
If you need a value other than this default value of 1000, you will need to specify it - and not comment on the directive in your configuration.
As far as I can tell, there is no way to make max_input_vars
unlimited; you can set it to a fairly high value, of course, but remember that this directive was recently added as a security measure. In addition, it makes no sense to set max_input_vars
unlimited, as a malicious user can send a huge amount of data and run out of memory.
source share