Getting "Input Variable Exceeded 1000" Error Even After Updating max_input_vars

I run Magento and I get "mod_fcgid: stderr: PHP Warning: Unknown: input variables exceeded 1000. To increase the max_input_vars limit change in php.ini to Unknown on line 0" when I try to save Products with 5000 products in the database.

Most people recommend fixing this by updating max_input_vars to something more. I went ahead and added max_input_vars = 100000 to php.ini and added a nice php_value max_input_vars 100000.htaccess version for a good grade.

php.ini is updated when I run php -i | grep max_input_vars prints max_input_vars => 100000 => 100000

I also tried smaller numbers like 5000, 6000 (if for some reason 100000 is too high)

I did not forget to restart apache2, so this is not a problem.

No matter what I do, I still get "mod_fcgid: stderr: PHP Warning: Unknown: input variables exceeded 1000. To increase the max_input_vars limit change in php.ini to Unknown on line 0"

Any ideas?

+4
source share
1 answer

create pi.php file with only code:

<?php phpinfo();

and save it in the same folder as Magento, and then access it through the browser.

The value that will be displayed for max_input_vars (local column) is your runtime value. If it differs from your parameter in php.ini, you are probably changing the wrong INI file.

Mod_FCGID differenct "" /etc/php.ini /etc/php.d/- , - , " ",.

phpinfo() INI, , .

: , , .

0

Source: https://habr.com/ru/post/1589052/


All Articles