使用xampp安装Mantis

XAMPP http://www.apachefriends.org/en/xampp.html
Mantis http://www.mantisbt.org/

1.下载安装上述软件
2.在D:\xampp\apache\conf\httpd.conf 末尾加上:
Alias /mantis E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7
<Directory "E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

3.然后将mantis下的config_inc.php.sample改名为config_inc.php。再配置一下mantis的邮件服务。一切就ok了。

4 中文显示
在E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7/config_inc.php文件中添加
$g_default_language = 'chinese_simplified';
[b]5上传文件[/b]
在config_inc.php中添加
$g_allow_file_upload=ON;
$g_file_upload_method=DISK;
并且在E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7下面新建一个upload目录
当你以管理员身份登录,新建项目时,在上传文件路径那一项填上upload即可,如果要为每一个项目指定不同的目录,可以先在upload下建一个projectname,在上传文件路径那一项填上upload\projectname
注意最好不要用中文目录名,目录名中间也不要带空格.
[b]6.置jpgraph[/b]
下载JpGraph Version: 2.3.4 http://www.aditus.nu/jpgraph/jpdownload.php
解压到E:\devTools\mantisbt-1.1.7\mantisbt-1.1.7\graphs\jpgraph-2.3.4
在E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7/config_inc.php文件中添加
$g_use_jpgraph = ON;
$g_jpgraph_path = 'E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7/graphs/jpgraph-2.3.4/src/';
[b]7. config_inc.php[/b]

# set these values to match your setup
$g_hostname = "localhost";
$g_db_username = "root";
$g_db_password = "root";
$g_database_name = "bugtracker";
$g_db_type = "mysql";

# --- email variables -------------
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';

$g_smtp_host='serverIP';
$g_smtp_username='yourname';
$g_smtp_password='pwd';

$g_phpMailer_method =2;

# the "From: " field in emails
$g_from_email = 'noreply@example.com';

# the return address for bounced mail
$g_return_path_email = 'yourmail@163.com';

# --- file upload settings --------
# This is the master setting to disable *all* file uploading functionality
#
# The default value is ON but you must make sure file uploading is enabled
# in PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.
$g_allow_file_upload = ON;
$g_file_upload_method = DISK;
$g_default_language = 'chinese_simplified';
$g_use_jpgraph = ON;
$g_jpgraph_path = 'E:/devTools/mantisbt-1.1.7/mantisbt-1.1.7/graphs/jpgraph-2.3.4/src/';
$g_graph_font = 'chinese_gbk';
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值