The first step is to set up the amp platform, the company's operating system is Windows XP (very outdated), http: // so you have to download the Windows version of the AMP to install, fortunately, someone has helped us to integrate it. This package is wampserver. wampserver is not only equipped with Apache + MySQL + PHP, but also with a very practical management tool-PHPmyAdmin, it's so convenient! Wampserver's official website is:
Http://www.wampserver.com/
You can download the latest wampserver version. The installation process is very silly. For convenience, it is a good choice to create a shortcut on the desktop during installation. Wampserver is not started by default, even if it is a server program, unlike the rogue software in China, the background is not enough to run, but also force a pop-up box ...... Double-click the icon on the desktop to start wampserver. An icon appears in the tray area. In wampserver, when the icon is red, it indicates that wampserver has not been started successfully, if it is yellow, it indicates that the service is not fully started (for example, the MySQL service cannot be started). If it is green, it indicates that all services are successfully started. You can click this icon to select the wampserver operation from the pop-up menu.
Enter this address for verification after starting the service:
Http: // 127.0.0.1 /? Phpinfo = 1
If everything works, you can see the PHP version information. It may also be abnormal because Microsoft IIS and other software have been installed on your machine, so you need to modify the port.
You need to change the character set for MySQL to UTF-8. Click the wampserver icon in the tray area and select MySql -- My. INI to open the MySQL configuration file. In the [client] section, add default-character-set = utf8; in the [mysqld] section, add character_set_server = utf8. Restart the MySQL service.
In this case, Apache configuration can only be accessed locally and cannot be accessed from other machines. Click the wampserver icon in the tray area and select Apache -- httpd. conf will open the Apache configuration file, search for "Deny from all", block it, and restart the Service (about three ).
So far, the wampserver configuration is complete, and the next step is the mantisbt setup. In mantisbt, BT means bug tracker, while mantis and Mantis are insect catcher. Looking at this name, we know that this is a system mainly used to track software bugs. The official website of mantisbt is:
Http://www.mantisbt.org/
I downloaded a zip package and decompressed it to our WWW directory. My package is: C: \ Wamp \ www \ mantisbt.
Enter http: // localhost/mantisbt in the browser to view the mantisbt installation screen.
I asked mantisbt to use the root user of MySQL and click the "Install/upgrade Database" button to start the installation. In fact, it is the process of creating related tables and initializing some data in MySQL, it took about seven or eight seconds on my computer, and the information was displayed. If green "good" is displayed on the right of each entry, congratulations. You have installed mantisbt. If some entries do not show "good ", check back. Most of the problems are that the database permissions are insufficient. The easy way is to use the root account directly for mantisbt.
At this time, you are eager to see the results, so enter: http: // localhost/mantisbt
You will see the logon interface, which contains the following two lines: Warning: You shocould disable the default 'administrator 'account or change its password. Warning: Admin directory shocould be removed.
All are security-related warning. The previous one said that the Administrator account password must be changed. This is simple. The default administrator password is "root". log on to the Administrator, you can modify the password under the my account label. You need to provide a real and available email address when changing the password.
Another warning is not difficult to solve, as it said, deleting the "admin" directory is my "D: \ Wamp \ www \ mantisbt \ ADMIN" directory.
For how to solve the administrator password setting problem, refer to my blog: Mantis administrator password control, registration without email verification, add Tester
If you want to change the Chinese interface to config_inc.php, add the following line:
$ G_default_language = 'Chinese _ simplified ';