The document provides step-by-step instructions for installing Mantis, an open source bug tracking tool, on a Windows system using Apache web server and MySQL database. It describes downloading and configuring Apache, PHP, and MySQL before explaining how to set up Mantis within the Apache directory and configure PHP and databases to interface with Mantis. Finally, it outlines launching the Mantis administration page in a web browser to complete the installation process.
Boost Fertility New Invention Ups Success Rates.pdf
Mantis Installation for Windows Box
1.
2.
3. 4. Next you'll see the License Agreement. Check the "I accept" radio button and click on "Next". 5. Another screen appears with more information about what Apache HTTP server is. Click "Next".
4. 6. Another screen appears with more information about what Apache HTTP server is. Click "Next". 7. Click on Next Button
5. 7. The configuration now begins. 8. Network Domain will be “Local Host”. 9. ServerName will be “Local Host” 10. Administrators email Id can be as: [email_address] 11. Click Next to Proceed.
6. 11. Here we choose whether to install as Typical or Custom. Typical sounds good to me. It should also be fine more most people. Click "Next". 12.Select Option type as “Typical” . 13. Click on the Next Tab.
7. 14. Now we choose where we want to install Apache. You can change this by clicking on the "Change" button and selecting whichever directory you like. Here we'll keep it default. Click "Next". 15. But it is advisory to keep the Path as Default Path=“C:pache2” 16. To Begin Installation click Install Tab.
8. 17.Wait a while for Completing Installation 18. See the Finishing Tab.
9. 19.The Final step will be as Below 20. Click on the Finish Tab to Complete Installation.
10. 21. Wow, we're done. You see that little new icon in your system tray? That shows you the status of Apache. 22. Let's see if Apache works now. Fire up your web browser and type in "http://localhost" or "http://127.0.0.1" and see if you get the default Apache page. You should see this.
32. NB: Click on finish Tab to compete Installation.
33. Now Create DataBase with Full Administrator Privelege. 1. Just type in place database name bugs it will be bugtracker.
34.
35. INSTALL PHP FOR WINDOWS STEP 1 * In Windows Explorer, go to c:ownloadshp5 and unzip the file php-5.0.2-Win32.zip into the directory called C:hp * Now move (don't just copy) the file c:hphp5ts.dll to c:indowshp5ts.dll (or if you don't have a c:indows directory, move it to c:innt ). * PHP5 is now installed on your computer, but you still need to configure it to work with Apache, which we will do in the next step.
36. STEP 2 Configure PHP5 to Work with Apache We now need to tell the Apache web server what to do when it encounters a .php file. Some changes will be made to the Apache configuration file and some will be made to the PHP configuration file. Do This: 1. With the Windows Explorer, create the folder c:ebsest . This will be our test website 2. Rename the c:hphp.ini-dist to c:hphp.ini , then make the following changes in the c:hphp.ini file: (1) doc_root = "c:ebsest" and (2) extension_dir = "C:hpxt" . Note that you should use BACKSLASHES in the php.ini file.
37. Step 3: In the file C:pache2onfttpd.conf , change the DocumentRoot entry to: DocumentRoot "C:/webs/test" . Note that you should use FORWARD SLASHES in the http.conf file. Step 4: Also in the file C:pache2onfttpd.conf , change the Directory entry to: <Directory "C:/webs/test"> . Note that you should use FORWARD SLASHES in the http.conf file.
38. STEP 5 Again in the C:pache2onfttpd.conf file, add the following lines: hint: to find this position fast, search for "media types" you can copy this text ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php .php5 Action application/x-httpd-php "/php/php-cgi.exe" SetEnv PHPRC "C:/php"
39. Step 6 Lastly, we need to make one last change to this C:pache2onfttpd.conf file. Find the "DirectoryIndex" entry and add "index.php" to the end of the line as shown in this screenshot. you can copy this text: DirectoryIndex index.html index.html.var index.php
40. STEP 7 In order for the changes to take effect, you need to restart Apache. To do this, click the Apache symbol in the lower right-hand corner of your task bar. In the little menu that pops up there, click Apache 2 and then Restart . STEP 8 After about 10 seconds, Apache will have restarted, PHP will be configured. Go on to the next step to test your configuration.
41. Test PHP You have now installed Apache and PHP and have configured PHP. We will now test your configuration of PHP to make sure Apache can correctly serve PHP5 files. Do This: 1. Create the file c:ebsestndex.php with the following line 2. Create the file c:ebsestndex.php with the following line you can copy this text: you can copy this text: you can copy this text to your Text Editor Today is <? print strftime("%m/%d/%Y"); ?> With your browser, go to http://localhost . If you see the current date on your screen as in this screenshot, then PHP5 has been successfully installed and configured with Apache.
43. CONFIGURE MYSQL Create a Database Table using MySQL 5.0 Client In this step we will use the MySQL 5.0 client software to create a database table (so that we can display its data on a web page in the next step). In order to do this, we are going to have to enter commands in at the command prompt on your Windows machine. Do This: In order to get to the command prompt, click the Windows Start button and choose Run . Then type in cmd and click the OK button.
44. 2. At the command prompt, type cd "C:rogram FilesySQLySQL Server 4.1in" and hit the Enter key. 3.Then type mysql -u root -p and when asked for the password, type admin . You will then see the MySQL client prompt.
45. 4.Type in the following lines in order to create the database named demo and a table within that database named members : 5.Now type in the following lines which will create two records in the members table of the demo database: Now exit the MySQL client by typing quit; . Now exit the MySQL client by typing quit; . z
46. Set up PHP to work with MySQL 4.1 We now need to make a few changes to PHP so that it knows what to do when it encounters a MySQL command. Do This: First of all, check the c:hp directory and make sure that the files libmysqli.dll and php_mysqli.dll are both there. If they are not there, check the c:hpxt directory and copy the files into c:hp 2.Then open up the file c:hphp.ini in your editor and ADD the line extension=php_mysqli.dll .
47. 3. In order for the changes to take effect, you need to restart Apache. To do this, click the Apache symbol in the lower right-hand corner of your task bar. In the little menu that pops up there, click Apache 2 and then Restart . 4.After about 10 seconds, your PHP will be ready to accept mysqli commands to talk to the MySQL 5.0 database.
48. Test PHP5/MySQL in browser We will now create a PHP page which connects to your MySQL database called demo , reads the names out of the table members and displays them in the browser. Do This Create a file c:ebsestestmysql41.php and paste in the following code: Copy the Below Code: <? $mysqli = new mysqli('localhost','root','admin'); $mysqli->select_db('demo'); $result = $mysqli->query("SELECT * FROM members"); while($row = $result->fetch_assoc()) { print $row['firstName'] . ' ' . $row['lastName'] . '<br/>'; } $result->close(); ?>
49. 3.In your browser, go to http://localhost/testmysql41.php . If you see the following two names appear in your browser, this means that your MySQL 4.1 database works with your PHP 5 installation. Fatal error : Class 'mysqli' not found in C:ebsestestmysql41.php on line 3 If above error appears then please do as mentioned Below.
50. Smith : Somebody please help me in removing this error "Fatal error: Class 'mysqli' not found in C:ebsestestmysql41.php on line 3" i have tried and checked all what is told in the above discussion..ple help me soon!!! Edgars : Sly: firstname should be firstName, and in mySQL is different is UPERCASE or lowercase! Chek your variables names, maybe it helps :) Yavuz cakir : Fatal error: Class 'mysqli' not found in c:ebsestestmysql41.php on line 2 Lubos : 1) Add file libmysql.dll into Windowsystem32 folder; 2) at php.ini uncomment extensions=php_mysqli.dll and php_mysql.dll; 3) at your testsql file change Admin to your windows account password. Configure apache as described here. I had all the mistakes as described above and now everything works. Alex : Lubos THANKS ALOT !!!! I had all htose problems too and now is working :) Bla Bla : Now, I don't know what changed it, I did everything listed here and I realised it works. I think firstName should be written the same way you did when you created the test database (in my case firstname). A letter can make the difference! Pay attention, kids!!! Is IT RESOLVED THANK YOU NO……………….Ok…So More Configuration Required
51.
52.
53.
54.
55. Once you click on Install and Upgrade Database the Screen will appear as Below Make sure all configuration should come as Good by the System. Click on Continue to Process Installation……………………………..