环境

Ubuntu 22.04 LTS
Bugzilla 5.0

解决

官方两篇文章部署目录不一致,官方部署文档采用新建 /var/www/webapps 目录,而关联文档中 apaache 采用 apache 默认目录 /var/www/html。

mv /var/www/webapps/bugzilla /var/www/html/
systemctl restart apache2

重新运行 testserver.pl 测试命令即可。正确提示:

TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got padlock picture.
TEST-OK Webserver is executing CGIs via mod_cgi.
TEST-OK Webserver is preventing fetch of http://localhost/bugzilla/localconfig.
TEST-WARNING Failed to run gdlib-config; can't compare GD versions.
TEST-OK GD library generated a good PNG image.
TEST-OK Chart library generated a good PNG image.
TEST-OK Template::Plugin::GD is installed.

错误信息

TEST-OK Webserver is running under group id in $webservergroup.
TEST-FAILED Fetch of images/padlock.png failed
Your web server could not fetch http://localhost/bugzilla/images/padlock.png.
Check your web server configuration and try again.
最后修改:2023 年 04 月 05 日 01 : 31 PM
如果觉得文章帮助了您,您可以随意赞赏。