Installation Mantis 0.19_php Tutorial in Windows+apache environment

Source: Internet
Author: User
As we all know, Mantis is a lightweight defect tracking system. As a free open source software, I think this is the object of choice for many small teams. Why should I introduce Mantis and not introduce bugzilla? First, Mantis relative bugzilla have a better operation interface. Second, installation and use are relatively simple. For the general project, Mantis for defect tracking, is more than enough. Well, to get back to the bottom, the following will put me under Windows to install Mantis 0.19 some of the experience, come out and share with you.
1. Pre-Installation Preparation
From Http://www.MySQL (the best combination with PHP). com/downloads/index.html download MySQL (and the best combination of PHP), I use the MySQL (and PHP collocation of the best combination) 4.0.2.
From http://www.php (as the current mainstream development language). net/downloads.php (as the current mainstream development language) download PHP (as the current mainstream development language) for Windows, I am using the latest PHP ( As the current mainstream development language) 5, while downloading PHP (as the current mainstream development language), but also to download the corresponding version of the ZIP package, also on this site.
Download Mantis from http://www.mantisbt.org/download.php (as the current mainstream development language), I am using version 0.19 (currently the latest).
From http://php (as the current mainstream development language) mailer.sourceforge.net download PHP (as the current mainstream development language) mailer, I use PHP (as the current mainstream development language) Mailer 1.72,php ( As the current mainstream development language) mailer is a module that supports e-mail delivery, and supports SMTP, SendMail, and other methods.
Download Apache (the most popular Web server platform on UNIX platform) from the Internet, I use the Apache (Unix platform most popular web server platform) 2.0.5, based on the IIS (Microsoft Web server Platform) installation method, online already has a very comprehensive article.
2. Installation Steps
Now that the tool is ready, start entering the theme! :)
A) Mantis decompression
Unzip the downloaded Mantis compressed package to the C:mantis.
b) Installation of MySQL (and the best combination of PHP collocation)
MySQL (and the best combination of PHP) installation is relatively simple, the default way to install the line. After the installation is completed, the operation of the Mantis library should be built. Suppose you install the directory to C:mysql (and the best combination of PHP).
Click Start-to-run input cmd press ENTER to enter the DOS command prompt line mode.
CD C:mysql (best combination with PHP) in
C:mysql (best combination with PHP) In>mysql (best combination with PHP) d//Start MySQL (and PHP collocation of the best combination) service process
Open a DOS prompt window again and go to the C:mantissql directory.
CD C:mantissql
C:mantissql>c:mysql (best combination with PHP) Inmysql (best combination with PHP)-uroot//Connect to MySQL (best combination with PHP) database
MySQL (the best combination of PHP collocation) >update user SET Password=password ( ) WHERE User=root;
MySQL (and PHP collocation of the best combination) >flush privileges;
The above action is to modify the root user's password, Is the password you set.
MySQL (the best combination of PHP collocation) >create Database mantis; Create a Mantis Library
MySQL (and PHP collocation of the best combination) >connect mantis; Connecting to the Mantis library
MySQL (and PHP collocation of the best combination) >source db_generate.sql; Mantis Initializing a table
Above is the establishment of the Mantis database, the establishment of the Mantis runtime required tables.

MySQL (best combination with PHP) >grant SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, create, DROP, REFERENCES, LOCK TABLES, create TE Mporary TABLES on mantis.* to Mantis@localhost identified by ;
MySQL (the best combination of PHP collocation) >flush privileges; The
above is the password that establishes the mantis user, is the mantis user.   
MySQL (Best mix with PHP) >exit; Exit
C) PHP (as the current mainstream development language) 5 and Apache (Unix platform most popular Web server platform) installation
PHP (as now mainstream development language) 5 and Apache (Unix platform most popular Web server platform) installation, can refer to http://blog.csdn.net/thb28/archive/2004/07/29/55620.aspx, here I will not repeat the description.
D) Modify the configuration file for Mantis and Apache (the most popular Web server platform on the UNIX platform) (this part is reproduced and partially modified)

http://www.bkjia.com/phpjc/508684.html www.bkjia.com true http://www.bkjia.com/phpjc/508684.html techarticle We all know that Mantis is a lightweight defect tracking system. As a free open source software, I think this is the object of choice for many small teams. Here's why I want to introduce man ...

  • Related Article

    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.