Back to Top

How To Install Bugzilla on Windows

How To Install Bugzilla on Windows

Bugzilla is the open source bug tracking system.It’s very simple to use with a lot of features. Bugzilla allows us to track the bugs and collaborate with developers as well as teams in your organization effectively.

If you are building the project, you need a way to keep track of all the bugs. Many people keep track of bugs in an excel spreadsheet which can be difficult to maintain and manage. The better way is to use bug tracking system and for this we can use Bugzilla. I don’t think it is the best one out there but it is the only open source that I know about and yes first time It can be a big pain to install Bugzilla so let’s see installation steps of Bugzilla.

Step 1: Download and Install Active Perl

First of all, you need to install Active Perl on our machine.Download the latest version of Active Perl from here.

Now, Install Active Perl in the root directory like my directory is C:/Perl64 using the Windows .msi installer. After installing Active, Perl starts “Perl Package Manager(PPM)” from the start menu.Here All the modules are listed in it.You need to select/search following modules and install it by right clicking on selected module.Then after go to file and select Run marked actions and your modules starts installing.

Following are the mandatory modules:

AppConfig
CGI
Data-Dumper
DateTime
DBI
DBD-mysql
Digest-SHA
DateTime-Timezone.
Template-Toolkit
Email-send
Email-MIME
URI
Math-Random-ISAAC
Win32
Win32-API

Following are the optional modules:

GD
Chart
Template-GD
GDTextUtil
GDGraph
MIME-tools
libwww-perl
XML-Twig
PatchReader
Perl-ldap
Authen-SASL
RadiusPerl
SOAP-Lite
JSON-RPC
JSON-XS

Step 2: Download Bugzilla.

Next,Download the stable release of bugzilla from here. Now extract the downloaded files and put it on particular folder like i have added it into C:Path to Folderbugzilla

NOTE:You have to have installed MySQL,PHPMyAdmin,PHP and Apache in your machine to setup bugzilla.

Step 3: Database Setup database

Now, Create one new database “Bugzilla” in your MySQL.Then Open local config file in the editor from the folder Bugzilla.and change the following information.

Step 4: Bugzilla Configuration

After Changing database details, run the below command and this will initialize a database and create required tables.

At the time of configuration, it asks a mail server hostname.Also, it asks an administrator email and password.

Step 5:Configure Apache

Now, Open your httpd.conf file in apache and place following steps:
First of all, Enable CGI support in Apache by uncommenting the AddHandler cgi-script .cgi line.

NOTE:If you get any error such as 500 internal server error or any other page load error or your Bugzilla is not worked, You need to replace First line #!/usr/bin/perl of all .cgi files to #!C:Path to perlbin.

That’s it.

Also Read:

To access windows shared files in ubuntu
Solution: Set up Wamp Server in Windows 8
change the file ownership Ubuntu

I hope you have enjoyed this tutorial. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (12)

  1. NOTE:If you get any error such as 500 internal server error or any other page laod error
    or your bugzilla is not work,You need to replace First line #!/usr/bin/perl of all .cgi files to #!C:Path to perlbin.
    I followed it, but it still doesn’t work. What should I do. šŸ™

  2. I run checksetup.pl in command prompt completely. But it still shows message internal server error. I don’t know how to solve this. Please help me. thank in advance!

  3. I run checksetup.pl in command prompt completely. But it shows message as bugzilla is not recognized as internal or external command,operable program or batch file.

  4. Hi,

    I had completed all the steps, still I could not make it, will you assist in running Bugzilla remotely?

    1. Hi Vijai,

      Can you post the issue you are facing?

  5. Thanks for nice post. However I can’t get past beyond this step:
    COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
    and then re-run checksetup.pl):

    ppm install DateTime
    ppm install DateTime-TimeZone
    ppm install Email-Send
    ppm install DateTime-TimeZone-Local-Win32
    *** Installation aborted. Read the messages above. ***

    C:\bugzilla>ppm install DateTime
    ppm install failed: Can’t find any package that provides DateTime

    I get same message for all uninstalled modules above.

    Any pointers will be greatly appreciated
    Dan

  6. I have this issue how to handle ..?

    Not Found

    The requested URL /bugzilla was not found on this server.

    1. Which URL did you try? https://www.bugzilla.org/download/ this one is working.

  7. Checker up.pl is not recognised error

  8. Can we upload our project related documents which are confidential in Bugzilla..Is that safe?

    1. No, Bugzilla is not for a confidential document.

  9. Tahir Javaid says:

    Please guide how to resolve the said issue

    Software error:
    The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 341.
    Compilation failed in require at C:\bugzilla\index.cgi line 15.
    BEGIN failedā€“compilation aborted at C:\bugzilla\index.cgi line 15.
    For help, please send mail to this siteā€™s webmaster, giving this error message and the time and date of the error.

    [Sun May 14 20:13:24 2023] index.cgi: The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 341. [Sun May 14 20:13:24 2023] index.cgi: Compilation failed in require at C:\bugzilla\index.cgi line 15. [Sun May 14 20:13:24 2023] index.cgi: BEGIN failedā€“compilation aborted at C:\bugzilla\index.cgi line 15.
    while browsing itā€™s giving me issues like ./data param.json file doesnā€™t exist.

    Actual results:

    while compiling .checksetup.pl file, itā€™s showing nothing wrong

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to Use the HTML5 Full-Screen API

Posted on 6 years ago

Bhumi

How to add child product in VirtueMart

Posted on 11 years ago

Bhumi

How to add Tags in WordPress Pages?

Posted on 11 years ago

Bhumi

How to call Remote URL in jQuery Ajax?

Posted on 10 years ago

Bhumi