下载并安装EasyPHP-Devserver
更改eds-binaries\httpserver\apache2425vc11x86x170928133524\conf目录下面的httpd.ini文件。以便发布mantis使其在其他机器上可正常访问。
Listen 127.0.0.1:8080 # Listen 192.168.142.37:8080 #
<VirtualHost 192.168.142.37> DocumentRoot "C:/Program Files/EasyPHP-Devserver-17/eds-www/mantisbt-2.6.0" ServerName mantisserver <Directory "C:/Program Files/EasyPHP-Devserver-17/eds-www/mantisbt-2.6.0"> Options FollowSymLinks Indexes ExecCGI AllowOverride All Order deny,allow Allow from 127.0.0.1 Allow from all Require all granted </Directory> </VirtualHost>
更改eds-binaries\php\php5630vc11x86x170928133524下面的PHP.ini,更改 \eds-www\mantisbt-2.6.0\config下面的config_inc.php,这样邮件功能可用。
[mail function] ; For Win32 only. SMTP = smtp_port = 25 sendmail_from =
$g_phpMailer_path ='C:\Program Files\EasyPHP-Devserver-17\eds-www\mantisbt-2.6.0\vendor\phpmailer\phpmailer'; $g_use_phpMailer = ON; $g_smtp_host=''; //设置邮箱的发送地址 $g_smtp_username=''; //设置邮箱的用户名 $g_smtp_password=''; //设置邮箱的密码 $g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL $g_webmaster_email = ''; $g_administrator_email = ''; $g_from_name = 'Mantis Bug Tracker'; $g_from_email = ''; # the "From: " field in emails $g_return_path_email = ''; # the return address for bounced mail $g_email_receive_own = OFF; $g_email_send_using_cronjob = OFF;
大功告成。
mantis设置
原创
©著作权归作者所有:来自51CTO博客作者参赞天地的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:我的友情链接
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
【IDEA】idea设置默认maven配置, 避免每次设置maven
【IDEA】idea设置默认maven配置, 避免每次设置maven
idea配置maven maven安装配置