您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
Mantis安裝配置文檔-php5
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2014/3/6 15:54:48 ] 推薦標(biāo)簽:Mantis 配置 php5

1.        環(huán)境及資料來源

l         Windows 2000 server SP4

l         Mantis1.0              http://www.mantisbt.org/download.php

l         Mysql4.1.x              http://dev.mysql.com/downloads/mysql/4.1.html

l         PHP5.1.4      http://www.php.net/downloads.php

l         Apache2.0.58        http://httpd.apache.org/download.cgi

2.        安裝

2.1          安裝Apache

l         不選擇安裝為windows服務(wù)

l         注意正確填寫domain、servername、email

l         更改端口的方法:<ApacheDir>Apache2confhttpd.conf,修改Listen參數(shù)

l         啟動(dòng)、停止、驗(yàn)證apache服務(wù)

2.2          安裝MySQL

l         選擇標(biāo)準(zhǔn)配置

l         設(shè)置密碼

2.3          本例子中的安裝路徑如下

l         D:Program FilesApache GroupApache2

l         D:Program FilesMySQLMySQL Server 4.1

l         C:php-5.1.4

l         C:mantis-1.0.0rc4

3.        配置

3.1          為Apache配置php

l         打開<Apache安裝目錄>confhttpd.conf文件,添加如下內(nèi)容到文件尾
#PHP 5

LoadFile "c:/php-5.1.4/php5ts.dll"

LoadModule php5_module "c:/php-5.1.4/php5apache2.dll"

AddType application/x-httpd-php .php

#PHP.ini path

PHPIniDir "c:/php-5.1.4"

3.2          Php配置

l         將c:php-5.1.4下的php.ini-dist復(fù)制一份,并改名為php.ini,編輯該文件

l         查找include_path,改為include_path=".;c:php-5.1.4pear"

l         查找extension_dir,改為extension_dir="c:php-5.1.4ext"

l         查找php_mysql.dll,將這一行前面的“;”號去掉

3.3          為apache配置mantis系統(tǒng)

l         打開<Apache安裝目錄>confhttpd.conf文件,添加如下內(nèi)容到文件尾
Alias /mantis "c:/mantis-1.0.0rc4/"

<Directory "c:/mantis-1.0.0rc4/">

Options Indexes

AllowOverride None

Order allow,deny

Allow from all

</Directory>

l         查找DirectoryIndex,添加index.php到后面
如:DirectoryIndex index.html index.html.var index.php

上一頁12下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd