Mantis installation Steps graphics and text detailed

Source: Internet
Author: User
Tags character set create database
I. Preparation (Windows platform)
Download Mantis (1.1.8), Address: http://www.mantisbt.org/download.php
Download easyphp (5.2.10), Address: http://www.easyphp.org/download.php (Note: If you have a local wamp or apmserver environment, you do not need to download easyphp, Can be extracted after the Mantis folder directly to the WWW directory, and then found in the Mantis file Config_inc.php.sample, copy a modified into config_inc.php, and then configure the database inside!
Note: My configuration is as follows:
The code is as follows Copy Code
$g _hostname = "localhost:3306";
$g _db_username = "root";
$g _db_password = "";
$g _database_name = "BugTracker";
$g _db_type = "MySQL";
#---Email variables-------------
$g _administrator_email = ' administrator@example.com ';
$g _webmaster_email = ' webmaster@example.com ';
# the ' From: ' field in emails
$g _from_email = ' noreply@example.com ';
# The return address for bounced mail
$g _return_path_email = ' admin@example.com ';
$g _default_language = ' chinese_simplified ';)
Install easyphp to c:easyphp directory.
Extract the mantis into the c:easyphpwww directory and rename it to Bugs
Attention:
1, easyphp version should not be higher than the 5.2.10, the reason behind the detailed said.
2. Do not include spaces in the easyphp installation path.
3, easyphp after installation do not run it immediately.
Second, configure Apache
Open Text File c:easyphpconf_fileshttpd.conf,
Modify the Listen 127.0.0.1:80 for the IP address and listening port you want, such as listen 192.168.1.103:80.
This local IP address must be changed to network card IP, otherwise the address such as 127.0.0.1 can not be accessed by other computers in the local area network.
ServerName localhost:80 one line as needed to modify, the method see the reference information above the line.
Three: Configure MySQL
security: The root user's password may be changed as needed.
Character set: MySQL default checksum character set is Swedish and needs to be changed to UTF8, otherwise mantins cannot access Chinese characters.
To prevent accidents, the MySQL and character set-related variables are all changed to UTF8.
To change the character_set_* and so on, and to be global, *_*_ci and the like variables will follow their own changes (heidisqlportable tools).
After you have finished, log back in MySQL and see if the variable you just modified is in effect, because some (all?) MySQL global variable is to be effective from the next session, so do not log on again to refresh the variable, you will find that the variable is modified.
The modification tool can be heidisqlportable, phpMyAdmin, or Mysql-front, and so on, note that this step is to be preceded by the installation of Mantis
The modified character set variables are as follows:


Iv. Configuration of easyphp
If the Appache port is configured correctly (the IP address is valid, the port is not conflicting), the following dialog box appears.

Then you can configure the easyphp to stop verifying port 80 when it starts, as follows:
Open Configuration Interface
Remove the tick of the Red horizontal section
V. Installation, configuration Mantis:
start easyphp 5.2.10, open the browser, and enter Http://your-ip:port/bugs
The mantis installation interface should appear, with root in the admin Username (to create DATABASE) line, and then click the Install/upgrade Database button. The next Test and installation interface does not have a red background test, it should be no problem.
then open c:easyphpwwwbugsconfig_inc.php and insert the following statement before the "?>" symbol at the end:

Save as UTF8 encoded after modification c:easyphpwwwbugsconfig _inc.php, that is, UTF8 code to overwrite the original file, otherwise the $g_from_name variable in Chinese, the message sender part will be displayed as garbled, the other part of normal.
Mailbox Speed: From the actual use of the situation, $g _phpmailer_method set to 2, with 126 of the SMTP server. Mail charge speed is as follows: Gmail mailbox speed quickly, can be received immediately, 126 to a few to more than 10 minutes, yahoo.com.cn mailbox half an hour or so has not received.
Security: Mantis requires that administrator users be disabled, renamed, or deleted admin directory. Note The user who built an administrator right prior to disabling the user of the admin.

Six, problems you may encounter:
if PHP uses version 5.3 and above, there are times when the browser will display many of the following similar errors:

This is because the PHP version changed to 5.3 below the OK!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.