swanwish / blog

My blog website
0 stars 0 forks source link

TestLink setting #45

Open swanwish opened 7 years ago

swanwish commented 7 years ago

1.修改php.ini文件中的如下参数:

原配置:session.gc_maxlifetime = 1440 修改为:session.gc_maxlifetime = 2880

原配置:max_execution_time = 30 修改为:max_execution_time = 180

swanwish commented 7 years ago

TestLink 配置汇总

安装好Testlink难免会遇到一些问题,现把修改的地方都汇总一下供参考:

1.修改默认登录语音为中文

#$tlCfg->default_language = 'en_GB';
$tlCfg->default_language = 'zh_CN';

2.修改邮件配置

$g_smtp_host        = 'mail.xxxxx.com';  # SMTP server MUST BE configured

# Configure using custom_config.inc.php
$g_tl_admin_email     = 'testlink@xxxxx.com'; # for problem/error notification
$g_from_email         = 'testlink@xxxxx.com';  # email sender
$g_return_path_email  = 'testlink@xxxxx.com';

$g_mail_priority = 5;

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

$g_smtp_username    = 'testlink';  # username
$g_smtp_password    = '111111';  # password

3.修改字符类型

#$tlCfg->config_check_warning_mode = 'FILE';
$tlCfg->config_check_warning_mode = 'SILENT';