Installing Mantis0.19 _ PHP in Windows + Apache

Source: Internet
Author: User
Mantis0.19 is installed in Windows and Apache environments. As we all know, Mantis is a lightweight defect tracking system. As a free open-source software, I think this is the preferred choice for many small teams. Here I want to introduce why Man knows that Mantis is a lightweight defect tracking system. As a free open-source software, I think this is the preferred choice for many small teams. Why am I going to introduce Mantis instead of Bugzilla? First, Mantis has a better operation interface than Bugzilla. Second, installation and use are relatively simple. Mantis is more than enough to track defects in general projects. Now let's get down to the point. let's share some of my experiences with installing Mantis 0.19 on Windows.
1. preparations before installation
From http://www.MySQL (best combination with PHP ). download MySQL from com/downloads/index.html (the best combination with PHP). I use MySQL (the best combination with PHP) 4.0.2.
From http://www.php (as the mainstream development language ). net/downloads. php (as the current mainstream development language) Download php (as the current mainstream development language) for Windows, I use the latest php (as the current mainstream development language) 5, while downloading php (as the mainstream development language), you also need to download the zip package of the corresponding version on this website.
Download Mantis from http://www.mantisbt.org/download.php (as the mainstream development language today) and I am using version 0.19 (currently the latest ).
Download php from http: // php (as the mainstream development language) mailer.sourceforge.net (as the mainstream development language) mailer, I use php (as the mainstream development language) mailer 1.72, php (as the mainstream development language) mailer is a module supporting Mail sending and supports SMTP, SENDMAIL, and other methods.
Download apache from the Internet (the most popular WEB server platform on the Unix platform). I use apache (the most popular WEB server platform on the Unix platform) 2.0.5, based on the iis (Microsoft's WEB server platform) installation method, there is already a comprehensive article on the Internet.
2. installation steps
The tool is ready. let's start with the topic! :)
A) decompress Mantis
Decompress the downloaded Mantis package to c: mantis.
B) install MySQL (the best combination with PHP)
MySQL (the best combination with PHP) is easy to install. you can install it by default. Create a Mantis database after installation. Assume that the installation is in the c: MySQL Directory (the best combination with PHP.
Click Start> Run> enter CMD and press enter to enter the doscommand prompt line mode.
CD c: MySQL (the best combination with PHP) in
C: MySQL (the best combination with PHP) in> MySQL (the best combination with PHP) d // start the service process of MySQL (the best combination with PHP)
Open a DOS prompt window and go to the c: mantissql directory.
CD c: mantissql
C: mantissql> c: MySQL (the best combination with PHP) inMySQL (the best combination with PHP)-uroot // Connect to MySQL (the best combination with PHP) database
MySQL (best combination with PHP)> UPDATE user SET password = PASSWORD ( ) WHERE user = root;
MySQL (the best combination with PHP)> flush privileges;
The above operation is to modify the password of the root user, The password you set.
MySQL (the best combination with PHP)> create database mantis; // create a Mantis database
MySQL (the best combination with PHP)> connect mantis; // connect to the Mantis Library
MySQL (the best combination with PHP)> source db_generate. SQL; // Mantis initial table creation
The above is the table required to create a Mantis database and create a Mantis runtime.

MySQL (best combination with PHP)> grant select, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, DROP, REFERENCES, lock tables, create temporary tables on mantis. * TO mantis @ localhost IDENTIFIED ;
MySQL (the best combination with PHP)> flush privileges;
The above figure shows how to create a mantis user, Password of the mantis user.
MySQL (the best combination with PHP)> exit; // exit
C) install php (as the mainstream development language) 5 and apache (the most popular WEB server platform on Unix)
Php (as the mainstream development language) 5 and apache (the most popular WEB server platform on Unix) installation, refer.
D) modify the configuration files of Mantis and apache (the most popular WEB server platform on the Unix platform) (this part is reproduced and partially modified)

Bytes. As a free open-source software, I think this is the preferred choice for many small teams. Why am I going to introduce Man here...

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.