我按照本指南在 apache2 服务器上安装 bugzilla:
http://www.bugzilla.org/docs/4.4/en/html/configuration.html
我安装了所有模块并配置了所有文件。在本节之前一切顺利:
2.2.4.1.2。 Apache httpd™ 与 mod_perl
我需要在 apache2.conf 中添加这些行:
PerlSwitches -w -T
PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl
尝试通过重新启动 apache 来完成所有进程时,出现此错误:
You must install Linux::Pid for Apache::SizeLimit to work on your platform.......
我在网上搜索了解决方案,但找不到任何说明如何安装它或以其他方式解决它..
请帮忙
附言
这是一个异常(exception):
/etc/apache2/apache2.conf 第 95 行的语法错误:
您必须为 Apache::SizeLimit 安装 Linux::Pid 才能在您的平台上工作。在/usr/local/lib/perl/5.14.2/Apache/SizeLimit/Core.pm 第 128 行。\nBEGIN 失败 - 编译在/usr/local/lib/perl/5.14.2/Apache/SizeLimit/Core 中止.pm 第 171 行。\n编译在/usr/local/lib/perl/5.14.2/Apache2/SizeLimit.pm 第 48 行失败。\nBEGIN 失败--编译在/usr/local/lib/perl/5.14 中止.2/Apache2/SizeLimit.pm 第 48 行。\n在/var/www/bugzilla-4.4/mod_perl.pl 第 52 行的 require 中编译失败。\nBEGIN 失败--编译在/var/www/bugzilla-4.4/mod_perl 中止.pl 第 52 行。\n在 (eval 2) 第 1 行的 require 中编译失败。\n
操作“configtest”失败。
Apache 错误日志可能包含更多信息。
...失败!
最佳答案
返回 previous page of the instructions ,然后尝试命令
perl install-module.pl Linux::Pid
关于perl - 安装 bugzilla 时出错 - 您必须安装 Linux::Pid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19209298/