XAMPP liteのインストール
(Apache,PHP,MySQLをまとめてインストールしてくれます)
まず以下のページから''XAMPP lite''をダウンロードしましょう。
http://www.apachefriends.org/en/xampp-windows.html
適切な場所で解凍したら、"xampp/setup_xampp.bat"を実行してください。
Mantisを動かすならliteで問題ありません(liteついてない方でも問題ないと思います。)
mantisのダウンロード
http://www.mantisbt.org/download.php
から最新版をダウンロードしてください。
mantisをhtdocs下に入れる
xampp/htdocs/
の下に解凍したmantisフォルダをコピーしてください。
フォルダ名はmantisに変更しておくとよいと思います。
xampp/htdocs/mantis
各種設定変更
http://www.alles.or.jp/~sogabe/mantis/manual/1.3.html
上記ページを参照してインストールを行ってください。
実際にインストールする際にはまった点を以下に挙げるので、参考にしてください。
#Listen 80 Listen 8080
#Listen 443 Listen 1443
- Mantis設定ファイルの変更(\htdocs\mantis\config_inc.php 327行目付近)
★言語を「日本語utf8」に変更
# --- language settings ----------- # If the language is set to 'auto', the actual # language is determined by the user agent (web browser) # language preference. $g_default_language = 'japanese_utf8';
$g_phpMailer_method = 2;
-
-
- メールサーバと、パスワードを適切な値にセットする
-
$g_smtp_host = 'smtp.hogehoge.com'; $g_smtp_username = 'USERNAME'; $g_smtp_password = 'PASSWORD';
# select the method to mail by: # 0 - mail() # 1 - sendmail # 2 - SMTP $g_phpMailer_method = 2; # This option allows you to use a remote SMTP host. Must use the phpMailer script # Name of smtp host, needed for phpMailer, taken from php.ini $g_smtp_host = 'smtp.hogehoge.com'; # These options allow you to use SMTP Authentication when you use a remote # SMTP host with phpMailer. If smtp_username is not '' then the username # and password will be used when logging in to the SMTP server. $g_smtp_username = 'USERNAME'; $g_smtp_password = 'PASSWORD';
- 日付表示形式の変更
デフォルトでは''月-日-年''というアメリカチックなフォーマットで表示されてしまうので修正(520行目付近)
############################ # Mantis Date Settings ############################ # --- date format settings -------- # date format strings (default is 'US' formatting) # go to http://www.php.net/manual/en/function.date.php # for detailed instructions on date formatting #$g_short_date_format = 'm-d-y'; #$g_normal_date_format = 'm-d-y H:i'; #$g_complete_date_format = 'm-d-Y H:i T'; $g_short_date_format = 'y-m-d'; $g_normal_date_format = 'y-m-d H:i'; $g_complete_date_format = 'Y-m-d H:i T';