Warning: Input variables exceeded 1000

后端 未结 8 1934
不知归路
不知归路 2020-12-25 13:29

I\'m building a RESTS like service in PHP that should accept a large JSON post as main data (I send and read the data much like discussed here: http://forums.laravel.io/view

相关标签:
8条回答
  • 2020-12-25 14:21

    Change this

    ; max_input_vars = 1000
    

    To this

    max_input_vars = 3000
    

    Comment line in php.ini file is

    ;
    
    0 讨论(0)
  • 2020-12-25 14:26

    Changing max_input_vars in php.ini didn't worked for me

    Change max_input_vars using .htaccess file is working.

    If you want to change the “max_input_vars” using .htaccess file then go to C:\xampp\apache\conf\httpd.conf file (in xampp) add the following code in you .htaccess file.

    php_value max_input_vars 10000

    0 讨论(0)
提交回复
热议问题