这个问题可以通过安装一些列出的可选Perl模块来解决。对我有用的是启用mod_rewrite并安装与Bugzilla API相关的可选模块。确保您安装的所有模块都是最新的。您还需要确保启用mod_rewrite,以便您可以在URL中联系/rest/而不是/rest.cgi/。在Windows上启用mod_rewrite的示例: https://tomelliott.com/php/mod_rewrite-windows-apache-url-rewriting 模块列表(必需和可选): https://www.bugzilla.org/releases/5.0/release-notes.html 仔细查看可选模块的表格。在“启用功能”函数下,您将看到这两个perl模块是API正常运行所必需的。JSON::RPC (Any) JSON-RPC Interface, REST Interface Test::Taint 1.06 JSON-RPC Interface, XML-RPC Interface, REST Interface 请注意,如果您使用不同的操作系统或想升级不同的版本,则可能需要查看不同的页面。