Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Max value of max_input_vars

Tags:

php

We're using some assessments platform and we need to export results for further processing.

Platform allows export tests' results to CSV format. Problem is that it requires high max_input_vars. Current value is 1000 (in php.ini) and we need a lot higher.

So I was wondering how high I can make max_input_vars. We're running platform on closed network, so security is not highest priority, but we need to avoid data loss or corruption.

What is max max_input_vars value or what maximum is recommended?

like image 927
SoulJam Avatar asked Jun 27 '17 16:06

SoulJam


1 Answers

According to this it is an INT. If you're on a 64 bit system, the max value of php ints (signed) is 9,223,372,036,854,775,807. On 32 bits it's 2,147,483,648.

like image 161
Kyle Becker Avatar answered Oct 21 '22 12:10

Kyle Becker