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.
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.
$db_host = 'localhost';
$db_name = 'bugzilla';
$db_user = 'user'; // Desired username of database
$db_pass = 'password'; // Desired password of database
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.
AddHandler cgi-script .cgi
<Directory "C:Path_to_folderbugzilla" >
Options Indexes FollowSymLinks ExecCGI
Allow from all
DirectoryIndex index.html index.html.var index.cgi
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.