51Testing软件测试论坛

标题: 安装mantis1.0.5时出了点问题 [打印本页]

作者: nonfish    时间: 2006-10-7 01:02
标题: 安装mantis1.0.5时出了点问题
先说说我的安装过程吧
依次安装apache_2.0.59-win32-x86-no_ssl.msi、php-5.1.6-Win32.zip、mysql-5.0.24a-win32.exe,都在d盘
然后配置apache,打开httpd.conf,修改添加以下代码
DirectoryIndex index.html index.htm index.php index.phtml

PHPIniDir "D:/php"
LoadModule php5_module "D:/php/php5apache2.dll"
AddType application/x-httpd-php .php
然后配置Php
修改php.ini-dist文件名为php.ini并打开该文件,修改extension_dir = ".\"为extension_dir = "D:/php/ext"
去掉以下的注释
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_imap.dll
extension=php_ldap.dll
extension=php_mysql.dll
然后解压缩mantis_1.0.5.tar.gz到apache下htdocs目录里,重启apache,运行cmd,
mysql -u root -p
Enter password: *******
mysql> create database bugtracker;
mysql> GRANT ALL PRIVILEGES ON bugtracker.* TO mantis@localhost IDENTIFIED BY 'mantis' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit
打开http://localhost/mantis,会自动打开http://localhost/mantis/admin/install.php,依次填写数据库以及密码等,然后下一步,出错了

会不会是我配置文件没搞好?怎么弄?以前倒是没出现过这种情况,不过也出错,也是在http://localhost/mantis/admin/install.php,最后四行是红的,提示好像是没权限创建表还是没创建表
作者: lonima    时间: 2006-12-26 15:48
设置参数???
作者: nonfish    时间: 2006-12-27 12:06
已经解决了,和参数没有关系




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2