phpMyAdmin-4.7.7-all-languages - max_input_vars problem

JohnyByk

Verified User
Joined
Mar 7, 2012
Messages
251
Hi.

New version o phpMyAdmin have some problems with max_max_input_vars. In php configuration we have max_input_vars = 10000 but phpMyAdmin say so we have not enough max_input_vars (1000).
DA: 1.521
PHP: 7.1 and 5.4
Nginx as reverse proxy for apache.

If you want reporoduce this issue, open table with more than 1000 records and try to sort them (click on column name).

Regards
 
Last edited:
Create a phpinfo.php file. Add:

<?php phpinfo();

save it, then try to access phpinfo.php using a web browser, and check the max_max_input_vars setting.
 
Last edited:
Do you have suhosin extension for PHP installed on the system?
 
We are seeing the same issue on a server. No suhosin installed, we have increased max_input_vars in the php.ini file and restarted apache. The change shows correctly in phpinfo but phpmyadmin still gives the same error about the limit being 1000.

This appears to have happened also with cpanel at some point but they have fixed it: https://forums.cpanel.net/threads/c...13105-phpmyadmin-max_input_vars-error.598791/

Any idea how this can be fixed?
 
FYI: We have created a .htaccess file inside the phpmyadmin directory with the following information:

Code:
php_value max_input_vars 10000

It appears to be working but we are waiting for confirmation from our client.
 
Back
Top