Jump to content

How do you change the max_input_vars from 1000 to 1400 in PHP


Recommended Posts

change max_input_vars in php.ini

 

In fact, I do not have that file on my server. I do not know if Synology has done any specials or not, but there it is. I also tossed out a question to them, too, but to get an answer from them takes an infinite time ....

Link to comment
Share on other sites

  • 2 months later...

Hello.

 

You must to create a file named php.ini and put in the directory /admin or the directory of the Back Office.

 

This is the content for the file (you can to inizialize other varibles like max_execution_time, memory_limit, ...):

 

max_input_vars = 2000

 

You can try.

 

Regards:

MARTIN

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

if you don't access php.ini you can access in ftp

root/config/config.inc.php

add: ini_set('max_input_vars', '2000');

 

good luck

This method does not work on PS 1.6 i tried by php.ini, by php5.ini, and by yours method.  all time I have an error about MAX_INPUT_VARS

 

 

I solved my problem by file on server. 

 

DirectAdmin

 

Putty -> login to server ->  /usr/local/etc/php5/cgi/php.ini

 

I changed default "1000" value

 

 

Edited by pbpo (see edit history)
Link to comment
Share on other sites

  • 5 months later...

Hello.

 

You must to create a file named php.ini and put in the directory /admin or the directory of the Back Office.

 

This is the content for the file (you can to inizialize other varibles like max_execution_time, memory_limit, ...):

 

max_input_vars = 2000

 

You can try.

 

Regards:

MARTIN

 

Tks!!! 100% =)

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...