Warning: Input variables exceeded 1000

后端 未结 8 2076
不知归路
不知归路 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:16

    Realy, change max_input_vars using .htaccess file is working but you need to restart Apache service.

    Follow the complete process:

    1. Go to C:\xampp\apache\conf\httpd.conf
    2. Open file httpd.conf
    3. In file look for xampp/htdocs
    4. A bit lower, you may see a line like this: AllowOverride
    5. If this line show # before AllowOverride delete the #
    6. Next line after AllowOverride insert php_value max_input_vars 10000
    7. Save the file and close
    8. Finally STOP the Apache and Restart (It will works just after restart apache)

提交回复
热议问题