Page 1 of 1

max_input_vars with NGINX

Posted: Mon Mar 01, 2021 11:04 am
by helyos
I have installed on Centos 7 Vesta with NGINX + PHP-FPM and I wanna modify max_input_vars for Wordpress site.
If I put in wp-config.php @ini_set( 'max_input_vars' , 3000 ) does not work.

Do you have any ideea why? Or what should i do to make the modification?

Thanks

Re: max_input_vars with NGINX

Posted: Sun Mar 07, 2021 6:44 pm
by Stesh

Code: Select all

# grep max_input_vars /etc/php.ini
max_input_vars = 10000

Re: max_input_vars with NGINX

Posted: Mon Mar 08, 2021 2:39 pm
by helyos
In /etc/php.ini i have:

; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 2000

But still somehow Wordpress shows me:
max_input_vars 1000

Do you have any ideea why?
Thank you a lot