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:


Following are the optional modules:


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 (11)

  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 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 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

    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

  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? this one is working.

  7. Checker 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Most Popular Posts

AWS Cloud Database Migration Service

Posted on 1 year ago


How to use Short Hand Array in PHP

Posted on 3 years ago


PHP 5 Abstract classes and Methods

Posted on 6 years ago


Static Methods and Properties in PHP

Posted on 6 years ago