nonfish 发表于 2006-10-16 16:43:36

安装mantis1.0.5出错

安装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,依次填写数据库以及密码等,然后下一步,下一步,然后就出错了
页: [1]
查看完整版本: 安装mantis1.0.5出错