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

  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. Hi,

    How to access Bugzilla in the browser after completing the setup??

  8. I cannot find local config file. please help!!

  9. Checker up.pl is not recognised error

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

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

  11. I followed all the steps but still not able to run bugzilla.

  12. Vennilavan says:

    I almost done the process. The same questions asked by some people in previous comment. But there is no reply. My doubt is in
    Bugzilla Configuration part. where should I run the below command?
    c:bugzilla>perl checksetup.pl
    also in
    Step 5:Configure Apache

    Now, Open your httpd.conf file in apache and place following steps. Do I need to install apache server? its really confusing. I the artle is not yours then please send the mail id of the creator. Really an important one to go ahead in my life. please reply me.

  13. Lavelle Pier says:

    Wow! Way to go girl! 🙂

  14. 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. Required fields are marked *

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

Most Popular Posts

Event Delegation in jQuery

Posted on 8 years ago

Bhumi

The Readers’ Poll – June 2012

Posted on 12 years ago

Bhumi

How to Animate SVG Image with example

Posted on 9 years ago

Bhumi