Configuring MantisBT

mantisOnce you've installed MantisBT, you are ready to start configuring. This article describes some initial settings. 


Force SSL

A good first step is to force SSL access. I recommend using Let's Encrypt for SSL certificates.

 

Administrator account

The default administrator account should be disabled or deleted.

  1. Log on as administrator with the password of root.
  2. Go to Manage > Manage Users.
  3. Click Create a New Account.
  4. Set Access Level to Administrator.
  5. Enter other account details and click Create User.

Now you can log off and log on as your new user account, and delete the administrator account.

 

Installation check

There is a useful environment check that you can run post install.

  1. Browse to https://yourdomain.com/admin/check

I found that I needed to add the following statements to my php.ini file:

register_argc_argv = 0
mysqli.allow_local_infile = 0
upload_max_filesize = 5M

 

Although I stil had some warnings, at this point I deleted the /admin directory.

 

config_inc.php

The main file for configuration is the /config/config_inc.php file. Here are some initial settings that you will find useful. Don't forget the semi-colon at the end of the line!

$g_webmaster_email        = This email address is being protected from spambots. You need JavaScript enabled to view it.';
$g_from_email        = This email address is being protected from spambots. You need JavaScript enabled to view it.';
$g_return_path_email        = This email address is being protected from spambots. You need JavaScript enabled to view it.';

$g_allow_signup = OFF;
$g_from_name = 'Issue Tracker';
$g_enable_email_notification = ON;

 

Thanks for visiting.