【问题标题】:PHP Max Input Vars: 1000 - Recommended Value: 1500 in WordpressPHP 最大输入变量:1000 - 推荐值:Wordpress 中的 1500
【发布时间】:2021-05-29 23:46:13
【问题描述】:

我正在尝试在 WordPress 中安装一个主题的演示网站,它说:

PHP Max Input Vars: 1000 - Recommended Value: 1500.
Max input vars limitation will truncate POST data such as menus. See: Increasing max input vars limit.

这里我使用的是 xampp 服务器。在我的php.ini

max_input_time=60

; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64

; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 3000

; Maximum amount of memory a script may consume
; http://php.net/memory-limit
memory_limit=512M

我该如何解决?

【问题讨论】:

    标签: php wordpress xampp


    【解决方案1】:

    去掉;max_input_vars = 3000前面的分号。

    分号';'在 ini 文件上类似于注释掉该行。

    根据您的主题建议,可以将其设置为 1500。

    【讨论】:

      猜你喜欢
      • 2022-10-20
      • 2018-12-06
      • 1970-01-01
      • 2012-03-29
      • 1970-01-01
      • 2015-04-24
      • 2019-09-29
      • 2013-05-04
      • 1970-01-01
      相关资源
      最近更新 更多