??xml version="1.0" encoding="utf-8" standalone="yes"?>国产女人在线观看,成人av综合网,日韩精品一区二区三区http://www.aygfsteel.com/ash011/archive/2008/04/15/193135.htmlwalkingpigwalkingpigTue, 15 Apr 2008 08:18:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/04/15/193135.htmlhttp://www.aygfsteel.com/ash011/comments/193135.htmlhttp://www.aygfsteel.com/ash011/archive/2008/04/15/193135.html#Feedback0http://www.aygfsteel.com/ash011/comments/commentRss/193135.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/193135.html安装好TestLink 和Mantis后,所有配|好以后Q发现测试相关的BUG标题中文是ؕ码,|上找了若干文章没有解决Q自己摸索出一下方法?/p>

Mantis版本Q?1.1.0(RC2)
TestLink版本Q?.7.1
PHP版本Q?.2.5
MySQL版本Q?.0.22

需要修改TestLink的文Ӟlib\bugtracking\int_mantis.php

 function getBugSummaryString($id)
 {
  if (!$this->isConnected())
   return false;
  
  //$this->m_dbConnection->aaa();
  $this->m_dbConnection->exec_query("set names 'GB2312'");  //<-新增加的
  
  $status = null;
  // 20070302 - {$this->m_dbName}.mantis_bug_table -> mantis_bug_table
  // Problems with MS-SQL
  $query = "Select summary FROM mantis_bug_table Where id='" . $id."'";
  
  $result = $this->m_dbConnection->exec_query($query);
  if ($result)
  {
   $summary = $this->m_dbConnection->fetch_array($result);

   // 20070302 - BUGID - on MS-SQL fetch_array() does not returns numeric indexes, then
   //                    only choice is accessing my field name (IMHO better)
   if ($summary)
    $summary = iconv("GB2312",TL_TPL_CHARSET,$summary['summary']);//<-修改?/font>
   else
    $summary = null;
  }
  return $summary;
 }



源文:http://www.joyblog.cn/article.asp?id=463

walkingpig 2008-04-15 16:18 发表评论
]]>
windows下apache+testlink集成mantis成功http://www.aygfsteel.com/ash011/archive/2008/04/15/193110.htmlwalkingpigwalkingpigTue, 15 Apr 2008 07:27:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/04/15/193110.htmlhttp://www.aygfsteel.com/ash011/comments/193110.htmlhttp://www.aygfsteel.com/ash011/archive/2008/04/15/193110.html#Feedback0http://www.aygfsteel.com/ash011/comments/commentRss/193110.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/193110.htmlTestLink中集成Mantis bug 理pȝ

怿大家在选择试理工具的时候,除了Freeq个重要因素之外Q是否也惌其功能更全呢Q如果功能不够全Q那么就想着是否能集成其他系l的功能q而完善呢Q下面要说的是一个集成功能的q用Q希望对大家有帮助?br />
q?br />
在TestLink和bug 理pȝ集成必须具备以下特点Q?br /> 1.       在TestLink和bug 理pȝ之间所有的信息交流都是在数据库中完成?br /> 2.       TestLinkQ现在版本)既不能发信息lbug 理pȝQ也不能从bug 理pȝ接收信息Q只是单U的调用?br /> 在配|完成之后运行,TestLink用户的用步骤如下:
1.       当执行某个测试失败?br /> 2.       用户点击链接打开bug 理pȝQ将issue提交?br /> 3.       当issue提交完毕之后Q用户必dbug 理pȝ的issue ID记录到TestLink?br /> 4.       用户q回到TestLink的测试执行页面,issue ID记录到Bug问题的地斏V?br /> 5.       在用户保存执行结果之后,Testlink显CZBug 理pȝ获取的数据?br />
环境要求CZQ?br /> l       TestLink和Mantis安装在同一台服务器?br /> l       Mantis的链接:http://168.68.73.29/mantis/
l       TestLink的链接:http://168.68.73.29/TestLink/
l       Mantis数据库名字:mantis
l       Mysqld名字Qmantis_user
l       d密码QMantis_passwd
W一步:~辑config.inc.php
扑ֈ$g_interface_bugs='NO';
Ҏ$g_interface_bugs='MANTIS';

W二步:在mantis上设|匿名登录权?br /> l       匿名d的设|需要打开?br /> l       Mantis的匿名用户具备对所有的目都可以浏览的权限?br /> Change the following in your mantis config_inc.php (replace dummy with your created user)
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';

?q个dummy用户需要administrator在后台添?注册不了?br />
W三步:在TestLink里配|mantis的界面参数?br /> 你必ȝ辑TL_ABS_PATH/cfg/mantis.cfg.phpQ如下所C:
/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', 'localhost');

/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'manti');

/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');

/** The DB type being used by mantis */
define('BUG_TRACK_DB_USER', 'mantis_user');

/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_PASS', 'mantis_passwd');

/** link to the bugtracking system, for viewing bugs */
define('BUG_TRACK_HREF', "http://168.68.73.29/mantis/view.php?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF'," http://168.68.73.29/mantis/");


试配置Q?br /> 首先在TestLink里面执行一条测试用例,执行之后Q如果发现问题,则点?#8220;Create New Bug”Q则打开mantis面Q将发现的问题报告至mantis上,报告成功之后Q回到TestLinkQ将Issue ID填写?#8220;Bug/Problem Report”的文本框里,然后点击“Save Result”Q这PTestlinkp把Mantis上的issue数据昄在执行测试用例页面下方了?br />
此外Q你q可以TestLink的bug报表功能Q点?#8220;Total Bugs For Each Test Case”Q则在右边的面里显C目所有测试用例下的bug列表?br />


walkingpig 2008-04-15 15:27 发表评论
]]>
windows xp下成功安装mantis及发送外|邮?/title><link>http://www.aygfsteel.com/ash011/archive/2008/04/11/192256.html</link><dc:creator>walkingpig</dc:creator><author>walkingpig</author><pubDate>Fri, 11 Apr 2008 10:41:00 GMT</pubDate><guid>http://www.aygfsteel.com/ash011/archive/2008/04/11/192256.html</guid><wfw:comment>http://www.aygfsteel.com/ash011/comments/192256.html</wfw:comment><comments>http://www.aygfsteel.com/ash011/archive/2008/04/11/192256.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ash011/comments/commentRss/192256.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ash011/services/trackbacks/192256.html</trackback:ping><description><![CDATA[     摘要:   <?php # Mantis - a php based bugtracking system # Copyright (C) 2000 - 2002  Kenzaburo Ito - kenito@...  <a href='http://www.aygfsteel.com/ash011/archive/2008/04/11/192256.html'>阅读全文</a><img src ="http://www.aygfsteel.com/ash011/aggbug/192256.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ash011/" target="_blank">walkingpig</a> 2008-04-11 18:41 <a href="http://www.aygfsteel.com/ash011/archive/2008/04/11/192256.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>testlink1.7.0导入xml需求报?/title><link>http://www.aygfsteel.com/ash011/archive/2008/03/04/183728.html</link><dc:creator>walkingpig</dc:creator><author>walkingpig</author><pubDate>Tue, 04 Mar 2008 08:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/ash011/archive/2008/03/04/183728.html</guid><wfw:comment>http://www.aygfsteel.com/ash011/comments/183728.html</wfw:comment><comments>http://www.aygfsteel.com/ash011/archive/2008/03/04/183728.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ash011/comments/commentRss/183728.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ash011/services/trackbacks/183728.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt">要导入的需求xml文grequirement.xml内容如下Q?br /> <br /> </span> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff"><?</span><span style="color: #ff00ff">xml version="1.0" encoding="gb2312"</span><span style="color: #0000ff">?></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">requirements</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">docid</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?01</span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">docid</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">title</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?01标题</span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">title</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?01的描q?/span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"></</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">docid</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?02</span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">docid</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">title</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?02标题</span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">title</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?02的描q?/span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"></</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">docid</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span></span><span style="font-size: 10pt"><span style="color: #808080">需?03]></docid><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    <title><![CDATA[需?03标题</span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">title</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"><</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span><span style="color: #0000ff"><![CDATA[</span><span style="color: #808080">需?03的描q?/span><span style="color: #0000ff">]]></span><span style="color: #0000ff"></</span><span style="color: #800000">discription</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />    </span></span><span style="font-size: 10pt"><span style="color: #0000ff"></</span><span style="color: #800000">requirement</span><span style="color: #0000ff">></span></span><span style="color: #000000"><br /> <span style="font-size: 10pt"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />  </span></span><span style="font-size: 10pt"><span style="color: #0000ff"></</span><span style="color: #800000">requirements</span><span style="color: #0000ff">></span></span></div> <span style="font-size: 10pt">但不知道什么原因,我导入时L报错Q?br /> Qplease check the file format,seems is not possible get any requirementQ?br /> q是ZQ请有经验的朋友帮我解答一下下Q呵?/span> <img src ="http://www.aygfsteel.com/ash011/aggbug/183728.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ash011/" target="_blank">walkingpig</a> 2008-03-04 16:19 <a href="http://www.aygfsteel.com/ash011/archive/2008/03/04/183728.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows XP Apache环境下运行Perl写的cgihttp://www.aygfsteel.com/ash011/archive/2008/02/29/183009.htmlwalkingpigwalkingpigFri, 29 Feb 2008 09:57:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/02/29/183009.htmlhttp://www.aygfsteel.com/ash011/comments/183009.htmlhttp://www.aygfsteel.com/ash011/archive/2008/02/29/183009.html#Feedback0http://www.aygfsteel.com/ash011/comments/commentRss/183009.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/183009.htmlq行环境Q?br /> Windows XPQ?ActivePerl-5.8.8.817-MSWin32-x86-257965.msi

安装完毕Q?br /> 用记事本打开apache的httpd.conf文gQ?br /> 1.搜烦cgi-binQ找到ScriptAlias /cgi-bin/
Ҏ
 ScriptAlias /cgi-bin/ "F:/Apache2/cgi-bin/"
Q这是存放cgi文g的\?br /> 2. 搜烦AddHandler  扑ֈAddHandler  cgi-script .cgi Q这是定义可执行cgi文g扩展名,可以?cgi 改ؓ .pl 或加?#8221;, .pl” Q成?#8220;AddHandler cgi-script .pl ,.cgi“q样两个后缀都可以用了?br /> 3.更改Options、Allow Override的参CؓAll?br /> 改完之后象这P
#
"F:/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists
, if you have that configured.
#
<Directory 
"F:/Apache2/cgi-bin">
    AllowOverride All
    Options All
    Order allow
,deny
    Allow from all
</Directory>
 4.建立文g test.pl , 内容如下Q?br />
#!d:/Perl/bin/perl 
#
#   写成!d:/Perl/bin/perl.exe也可?/span>
#
# 注意Q如果没有第一行或写错Qapache找不到perl解释?/span>
#
# Q会出现500 Internal Server
 
print "Content-type:text/html\n\n";
print "CGI执行成功Q?/span>";

在F:\phpweb目录下,建立一个html文gQ内容如下:
<a 5. 重新启动apache serverQ然后在览器打开q个文gQ提C?“CGI执行成功Q?#8221;


walkingpig 2008-02-29 17:57 发表评论
]]>
TestLink安装http://www.aygfsteel.com/ash011/archive/2008/02/29/182996.htmlwalkingpigwalkingpigFri, 29 Feb 2008 09:17:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/02/29/182996.htmlhttp://www.aygfsteel.com/ash011/comments/182996.htmlhttp://www.aygfsteel.com/ash011/archive/2008/02/29/182996.html#Feedback0http://www.aygfsteel.com/ash011/comments/commentRss/182996.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/182996.html上一windowsxp 下安装php是ؓ了安装TestLink而配的,
TestLink的安装有两种方式Q一是自动安装,二是手工安装的方式?br /> 我用的是自动安装

在上配|好的php环境下,按如下步骤安装TestLink

1.TestLink文gҎ贝到F:\phpweb目录下?br /> 2.在浏览器输入讉K地址http://168.68.73.97/testlink/
若没有安装就会自动蟩?a target="_blank">http://168.68.73.97/testlink/install/index.php安装?br /> 3.选择new installQ在q入的页面中Q输入登录MySQL的用户名和密码,如rootQ如果没有ؓTestLink新徏一个专用的用户Q也可以输入初始用户root。但是因为root权限q多Q所以,为TestLink新徏专用的用Pqؓ该用戯予ALTER、SELECT、INSERT、UPDATE、INDEX、CREATE、DELETE和DROP权限?br /> 3.提示安装成功。系lؓtestlink创徏一个默认管理员账号Q用户名和密码ؓQadmin/admin。你可以使用q个账号讉KTestLink

在自动安装过E中Q安装程序主要做了以下事情:
1.查web server的参数、php配置、数据库版本
2.创徏数据库和表,q导入初始数?br /> 3.完成安装

walkingpig 2008-02-29 17:17 发表评论
]]>
windowsxp 下安装php服务http://www.aygfsteel.com/ash011/archive/2008/02/29/182987.htmlwalkingpigwalkingpigFri, 29 Feb 2008 08:54:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/02/29/182987.htmlhttp://www.aygfsteel.com/ash011/comments/182987.htmlhttp://www.aygfsteel.com/ash011/archive/2008/02/29/182987.html#Feedback0http://www.aygfsteel.com/ash011/comments/commentRss/182987.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/182987.html我是W一ơ在xp下配|php
在网上找了很多资?按照上面的一步步?M在半路出C些问?
以下是我l合几个|友的资料配|成功的步骤Q?br />

操作pȝQwindows xp
apache_2.2.6-win32-x86-no_ssl.msi  
http://apache.mirror.phpchina.com/httpd/binaries/win32/apache_2.2.6-win32-x86-openssl-0.9.8e.msi
php-5.2.5-win32-installer.msi 
http://cn2.php.net/distributions/php-5.2.5-win32-installer.msi
PHP 5.2.5 zip package
http://cn.php.net/get/php-5.2.5-Win32.zip/from/cn2.php.net/mirrorQ这里面有需要的dll文gQ?br /> mysql-5.0.22-win32_Setup.exe
http://www.mysql.com/

开始安?br />
一、安装Apache2.2.6

1 q行安装E序 ?

 

 

2 下一步,? 安装协议

 


3 下一步,? Apache HTTP Server的一些说?/strong>

 


4 下一步,? 填写服务信息

Network Domain 域名 Q这里填?localhostServer Name 服务器名Q这里填?localhost

Administrator‘s Email Address 理员邮?/span>

 

 

 

5 安装cd

选择自定义安?CustomQ图5

 

 

6 自定义安装设|,?

 

 

修改安装目录Q这里我把目录修改到F:\Apache2\?

 

 

7 安装认Q图8

 

 

8 开始安装,?

 

 

安装最后会出现几个命o行窗口?/span>

9 安装完毕Q图10

 

 

10 右下角出现图标,?1

 

 

11 双击昄服务器监控信息,?2

 

 

12 试Q图13

在浏览器地址栏输?http://localhostQ回车显C?“It worksQ?#8221;?/span>

如图Q表C安装成功了Q?/span>

 

 

q样 Apache安装完毕了?/span>

二、安装PHP5.2.5

1 拯需要的lg

解压php-5.2.5-Win32.zip?#8220;G:/PHPTemp”。这里主要是拯一些以后需要的lg?/span>

2 q行安装E序php-5.2.5-win32-installer.msi

 

 

3 接受 安装协议

 

 

4 选择安装目录Q?/strong>

选定目录.我设|的是F:\php\

 

 

5 选择服务器设|?/strong>

 

 

6 选择Apache配置文g目录,按我之前的配|,q里我选的是F:\Apache2\

 

 

7 安装讄

 

 

8 准备安装

 

 

9 安装完毕

 

 

10 从G:/PHPTemp拯libmysql.dll及ext文g夹到F:/PHP
q在F:/PHP/php.ini中修Ҏ
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;  extension=msql.dll
   extension=php_mysql.dll
   extension=php_mysqli.dll
;
; ... or under UNIX:

F:/PHP/php.ini文g拯到C:\WINDOWS目录?br /> F:/PHP/libmysql.dll文g拯?C:\WINDOWS\system32目录?br /> F:/PHP/ext/php_mysql.dll 文g拯?C:\WINDOWS\system32目录?br /> F:/PHP/ext/php_mysqli.dll文g拯?C:\WINDOWS\system32目录?br />
11 对Apacheq行讄

 在F:\下徏立phpweb子目录,?#8220;F:/phpweb”目录?/span>

修改目录F:\Apache2\conf下的文g“ httpd.conf”?/span>

搜烦DocumentRoot "F:/Apache2/htdocs"把冒号中的F:/Apache2/htdocsQ替换成“F:/phpweb"Q?/span>

搜烦<Directory "F:/Apache2/htdocs"> 把冒号中的F:/Apache2/htdocsQ替换成“F:/phpweb"Q?/span>

上面q两行可以不改,那么以后d的论坛程序就要放在f:/Apache2/htdocs下面Q就是以q个目录作ؓ根目录。改的目的就是不x所有网站程序都攑֜Apache的目录下面?/span>

搜烦DirectoryIndex index.html 增加为DirectoryIndex index.html index.php

上面q句Z能够q行~省的页面,q里增加?index.php作ؓ~省面?/span>

修改完毕Q保存,q新启动Apache服务器,也许会启动不成功Q这时要不按Ctrl+Alt+Del删除Apache相关E序Q要不重新启动计机?br />

12 试

?#8220;f:/phpweb”目录中,创徏文g test.php

 

<html>
<
head
>
  <
title>PHP Tes</title
>
</
head
>
<
body
>
<?
php echo "<p>Hello World</p>"; 
?>
</
body
>
</
html>

 在浏览器地址栏中输入 http://localhost/test.phpQ显C如下,

 

昄Q?br /> Hello World

那么你安装Apache和PHP成功了?/span>



walkingpig 2008-02-29 16:54 发表评论
]]>
如何让jsp,.net,asp,php,cgi在同一台机器上q行?http://www.aygfsteel.com/ash011/archive/2008/02/27/182379.htmlwalkingpigwalkingpigWed, 27 Feb 2008 01:26:00 GMThttp://www.aygfsteel.com/ash011/archive/2008/02/27/182379.htmlhttp://www.aygfsteel.com/ash011/comments/182379.htmlhttp://www.aygfsteel.com/ash011/archive/2008/02/27/182379.html#Feedback1http://www.aygfsteel.com/ash011/comments/commentRss/182379.htmlhttp://www.aygfsteel.com/ash011/services/trackbacks/182379.html 不知道再加个.net,php,cgi的项目站?
又该怎么配置?


walkingpig 2008-02-27 09:26 发表评论
]]>
վ֩ģ壺 | ľ| | | | | Ϫ| | Ϸ| ޻| | Ϻ| ɽ| | ͨ| | | | | żҿ| | | ԭƽ| | Ϫ| | | ƽ| | Ž| ÷| μ| | Ϫ| ٲ| Ž| Դ| | ͨ| | |