.zip 文件中的 wordpress 主题安装问题

wordpress theme installing issue from a .zip file

当我从 .zip 文件安装 Wordpress 主题时,出现了这个错误:

Warning: POST Content-Length of 11979500 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

有人可以帮我吗?

PHP 的默认最大 post 大小为 8MB(或 8388608 bytes)。

您需要 change/set php.ini 文件中的 post_max_size 变量。对于这个特定文件,您只需要将其设置为超过 12MB

例如:

post_max_size=16M

或者,您可以通过 FTP 将 zip 文件上传到您的 /wp-content/themes/ 文件夹并从 WordPress 管理面板中激活。