Jump to content
MacRoy

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

Recommended Posts

Hi !

 

Do you know how to change the max_input_vars from 1000 to 1400 in PHP on a Synology DS212 ?

 

The reason for the question is that I can not make any translations in Prestashop because of this.

 

Would be grateful for answers.

PHP Max 1000.tiff

  • Like 1

Share this post


Link to post
Share on other sites

Ask your hosting provider for this..

 

I don`t use any Web hotel. I've posted it on my Synology DS212 for testing only.

Share this post


Link to post
Share on other sites

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 ....

Share this post


Link to post
Share on other sites

I have had the same problem and it's been solved by my server's provider, so you have to ask them to do it for you. In fact, ask them to put 8000 instead of 1000 cause 1400 will not be enough.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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% =)

Share this post


Link to post
Share on other sites

1 - ir ao cpanel

2 - software - select PHP version

3 - switch to top php optinio  ( no canto superior direito)

4 - procurar (max_input_vars) e mudar para 10000

  • Like 1

Share this post


Link to post
Share on other sites

and what about simple php.ini file? usualy it is enough to put it into the main directory 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More