Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

max_input_vars with NGINX

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
helyos
Posts: 43
Joined: Wed Aug 19, 2015 1:21 pm

max_input_vars with NGINX
  • Quote

Post by helyos » Mon Mar 01, 2021 11:04 am

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
Top

Stesh
Posts: 348
Joined: Mon Nov 09, 2015 5:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: max_input_vars with NGINX
  • Quote

Post by Stesh » Sun Mar 07, 2021 6:44 pm

Code: Select all

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

helyos
Posts: 43
Joined: Wed Aug 19, 2015 1:21 pm

Re: max_input_vars with NGINX
  • Quote

Post by helyos » Mon Mar 08, 2021 2:39 pm

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
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password