Mantis Installation

Installation Package Include
1. apache_2.2.2-win32-x86-no_ssl.msi
2. php-5.2.5-Win32.zip
3. mantis-1.1.0
4. Mysql Server 5.0.18 version
5. Mysql Client(Navicat)

Steps:
1. Install Mysql Server 5.0.18.
a. Install the Mysql.
b. In “MySQL.com Sign-Up” step, click the “Skip Sign-Up” radio button and go to “Next.”

c. Click next keeping the combo “Configure the MySQL Server” checked in. Click finish.
Configuring Server:
a. Choose Detailed Configuration
b. Keep Clicking Next until Window Options arrives. Check in “Include Bin Directory in Windows PATH”.
c. Set root password. Check in Enable root access from remote machine.
d. Restart the computer.”
2. Install Mysql Client (Navicat).
3. Create a User named ‘mantisdbuser’ and a database ‘bugtracker’ and the user needs to have read/write access to the Mantis database.
4. Install apache_2.2.2-win32-x86-no_ssl.msi.
a. During Apache HTTP Server installation set Network Domain = localhost (or the domain the computer belongs); Server Name = localhost (should use the name
of the computer); Administrator Email = admin@localhost (or appropriate).
b. Before going to the next level check in the radio button “only for the Current User, on Port 8080, when started Manually”. Later on we will install Apache as a Service.”
5. PHP 5.2.5:
a. Create a directory. C:\PHP and extract the zip content into it.
b. Copy the php.ini-dist to the same directory and rename it as php.ini.

Modification in the file PHP\php.ini:
a. Find extension_dir variable and replace the value to “C:\PHP\ext\” (extension_dir = “C:\PHP\ext\”)
b. Find extension=php_mysql.dll an uncomment it.”
6. Now modify the file located at …\Apache2.2\conf\httpd.conf

a. To add php-module, add this line (preferably in the section where other modules are added): LoadModule php5_module “c:/php/php5apache2_2.dll”
b. To define php initial directory add the line : PHPIniDir “c:/php”
c. To associate php file type to browser add the line: AddType application/x-httpd-php .php
d. DirectoryIndex sets the file that Apache will serve if a directory is requested.Set DirectoryIndex index.php”
7. Installing New Apache Service:
a. On command line type cd C:\Program Files\Apache Software Foundation\Apache2.2\bin\ . Now execute command httpd.exe –k install –n Apache2. It will
create a service named Apache2. Unblock the port.
b. Start the service from the taskbar.”
8. Create a file in … \Apache2.2\htdocs directory with .php extension such as phpinfo.php. Paste the following code
<?php
echo phpinfo();
?>”
9. Go to http://localhost:8080/phpinfo.php . A page like below will appear.

10. Now rename ‘mantis-1.1.0′ folder as ‘mantis’. Copy whole mantis project under C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ directory.
11. Restart Apache2 Service.
12. In browser type http://localhost:8080/mantis/admin/install.php

13. Provide database user name,password,root,database root password and then press Install/Upgrade Database button.
14.On successful completion ‘GOOD’ term will appear in each step.
15. now you can login to mantis. Initial userid:’administrator’ password=’root’

Leave a Reply