mantis0 19配置指南

2021-04-01 17:14:39 字數 1340 閱讀 6063

將mantis壓縮檔案解壓到乙個目錄,讓web server可以訪問。

在mysql建立乙個資料庫,取名mantis,建立乙個使用者取名mantis,密碼自定,並讓此使用者有操作mantis資料庫許可權,然後用mantis使用者執行第1步解壓的mantis/sql目錄下的db_generate.sql。

在mantis目錄下將config_inc.php.sample更名為config_inc.php,將裡面 $g_hostname, $g_db_username, $g_db_password, $g_database_name設定為上面第二步關於訪問mysql資料庫的設定。

將config_default_inc.php檔案中$g_default_language,$g_fallback_language內容拷過來,改為$g_fallback_language="chinese_simplified",$g_default_language="chinese_simplified"。

如果要在操作mantis的時候能夠傳送郵件提示,那麼就需要配置**tp選項,由於mantis通過phpmailer支援**tp傳送,所以需要先在php安裝目錄下建立乙個includes目錄,然後修改php.ini檔案,找到include_path變數,將你php目錄包含進去,比如include_path = ".;f:/greenamp/php/includes",再將mantis/core/phpmailer目錄下的class.phpmailer.php、class.**tp.php和language目錄拷貝到includes目錄,並且config_default_inc.php檔案中$g_administrator_email,$g_webmaster_email ,$g_from_email,$g_return_path_email,$g_enable_email_notification,$g_phpmailer_method,$g_**tp_host,$g_**tp_username,$g_**tp_password拷貝過來並改為以下內容

$g_administrator_email  = '你自己的email位址';

$g_webmaster_email      = '你自己的email位址';

$g_from_email           = '你自己的email位址';

$g_return_path_email    = '你自己的email位址';

$g_enable_email_notification = on;

$g_phpmailer_method  = 2;

$g_**tp_host   = '**tp伺服器位址';

$g_**tp_username = '**tp帳戶名';

$g_**tp_password = '**tp密碼';

mantis配置修改

最新版本 mantisbt 2.17.1 修改常用配置都在 mantis config defaults inc.php mantis的設定是這樣儲存的 在 config defaults inc.php中儲存mantis的預設設定,使用者自己的設定資訊儲存在config inc.php中。如果某個...

mantis 新增新狀態配置方法

在mantis的狀態列中一般只有 新建 反饋 認可 已確認 已分派 已解決 已關閉,七個選項,如果想在其中加入新的狀態怎麼做?我要加入的狀態為 重新開啟 1 新增狀態資訊 開啟config defaults inc.php檔案,找到 g status enum string 字段,增加乙個60 re...

windows下搭建及配置mantis缺陷管理工具

在windows xp 作業系統下,如何更快 更容易地搭建及配置mantis缺陷管理工具呢?以下是我實踐的具體步驟 一 安裝mantis的前提環境,需要先安裝apache http server2.2 php 5 mysql5.1 注意 如果你的電腦已經安裝了mysql資料庫,啟動apmserv5....