如何使用 WAMP 安装 Bugzilla?

How to install Bugzilla using WAMP ?

我想将 Bugzilla 安装到我的 computer.I 有 WAMP 服务器 installed.Is 有没有办法使用 WAMP 服务器添加 Bugzilla?

这是在 Windows 环境中安装 Bugzilla 的文档:https://bugzilla.readthedocs.io/en/5.0/installing/windows.html

在本文档中,有一个特殊页面可以将 Apache(嵌入在 WAMP 中)配置为 运行 您的 bugzilla 实例:https://bugzilla.readthedocs.io/en/5.0/installing/apache-windows.html#apache-windows

你必须:

  • Uncomment LoadModule cgi_module modules/mod_cgi.so at the beginning of the file to enable CGI support.
  • Uncomment AddHandler cgi-script .cgi to register .cgi files as CGI scripts. For this handler to work, you must create a key in the Windows registry named HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command with the default value pointing to the full path of perl.exe with a -T parameter. For example C:\Perl\bin\perl.exe -T if you use ActivePerl, or C:\Strawberry\perl\bin\perl.exe -T if you use Strawberry Perl.
  • Add an Alias and a Directory for Bugzilla:

httpd.conf :

Alias "/bugzilla/" "C:/bugzilla/"
<Directory "C:/bugzilla">
    ScriptInterpreterSource Registry-Strict
    Options +ExecCGI +FollowSymLinks
    DirectoryIndex index.cgi index.html
    AllowOverride All
    Require all granted
</Directory>

然后重启Apache。