Installing Mantis on Windows with IIS/PHP/MySQL
Posted: 25 Feb 2008, 22:12
Here are the steps to instal Mantis 1.1.1 on Windows Vista with IIS7, PHP 5.2.5 and MySQL 5.0.45 Community.
1. Download the Mantis http://sourceforge.net/project/showfile ... _id=166159 and save to C:\Temp
2. Right click on C:\Temp\InstantMantis-1.1.1.zip and choose Extract All (creates the folder InstantMantis-1.1.1).
3. Copy the folder C:\Temp\InstantMantis-1.1.1\root\mantis to C:\Inetpub\wwwroot\mantis (assuming the default location for IIS web root).
4. Delete the file C:\Inetpub\wwwroot\mantis\config_inc.php.
5. Browse to http://localhost/mantis (you will be redirected to http://localhost/mantis/admin/install.php)
6. Enter the database information and click submit. (the database will be created and populdated with tables)
7. Browse to http://localhost/mantis, login and start using the system.
8. Delete the file C:\Temp\InstantMantis-1.1.1.zip and folder C:\Temp\InstantMantis-1.1.1.
If you do not yet have PHP and MySQL installed properly on Windows Vista, here are a couple of links:
Install PHP on Windows Vista
http://techknowsis.beesquared.biz/2007/ ... r2003.aspx
Install MySQL on Windows Vista
http://www.oreillynet.com/onlamp/blog/2 ... ql_on.html
One thing to note is that the C:\Inetpub\wwwroot\mantis\config_inc.php is the key to a fresh install. If the file exists (and it does by default) the installer will try to perform and upgrade and fail miserably because the database has not yet been created. If you ever want to reinstall mantis just delete that file and browse to http://localhost/mantis.
Ben McFarlin
1. Download the Mantis http://sourceforge.net/project/showfile ... _id=166159 and save to C:\Temp
2. Right click on C:\Temp\InstantMantis-1.1.1.zip and choose Extract All (creates the folder InstantMantis-1.1.1).
3. Copy the folder C:\Temp\InstantMantis-1.1.1\root\mantis to C:\Inetpub\wwwroot\mantis (assuming the default location for IIS web root).
4. Delete the file C:\Inetpub\wwwroot\mantis\config_inc.php.
5. Browse to http://localhost/mantis (you will be redirected to http://localhost/mantis/admin/install.php)
6. Enter the database information and click submit. (the database will be created and populdated with tables)
7. Browse to http://localhost/mantis, login and start using the system.
8. Delete the file C:\Temp\InstantMantis-1.1.1.zip and folder C:\Temp\InstantMantis-1.1.1.
If you do not yet have PHP and MySQL installed properly on Windows Vista, here are a couple of links:
Install PHP on Windows Vista
http://techknowsis.beesquared.biz/2007/ ... r2003.aspx
Install MySQL on Windows Vista
http://www.oreillynet.com/onlamp/blog/2 ... ql_on.html
One thing to note is that the C:\Inetpub\wwwroot\mantis\config_inc.php is the key to a fresh install. If the file exists (and it does by default) the installer will try to perform and upgrade and fail miserably because the database has not yet been created. If you ever want to reinstall mantis just delete that file and browse to http://localhost/mantis.
Ben McFarlin