windows server 2003下配置iis服务器以支持php mysql

<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">一、软件准备</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style="">1 mysql :<span style=""> </span>mysql-5.0.3-beta-win32<p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style="">2 php:<span style=""> </span>php-5.0.3RC2-Win32<p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style="">3 phpadmin<p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style="">All the softwares have been existed in your flash memory.</span><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">二、安装</span><span lang="EN-US" style="font-size: 12pt;"><font>moodle <p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">假设在</span><span lang="EN-US" style="font-size: 12pt;"><font>default web site </font></span><span style="">下,建立网站命名为</span><span lang="EN-US" style="font-size: 12pt;"><font>moodle<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">这里</span><span lang="EN-US" style="font-size: 12pt;"><font>moodle </font></span><span style="">源文件放在</span><span lang="EN-US" style="font-size: 12pt;"><font>c:/moodle</font></span><span style="">目录下</span><span lang="EN-US" style="font-size: 12pt;"><font> <p></p></font></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">三、安装</span><span lang="EN-US" style="font-size: 12pt; color: blue;"><font> PHP </font></span><span style="">:</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>1 </font></span><span style="">将</span><span lang="EN-US" style="font-size: 12pt;"><font>php</font></span><span style="">文件放在</span><span lang="EN-US" style="font-size: 12pt;"><font><span style=""> </span>C:\php</font></span><span style="">(这个路径可以随意,不过下面要是用到这个路径,请相应修改);</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">2 </span><span style="">将</span><span lang="EN-US" style="font-size: 12pt;"><font>C:\php</font></span><span style="">目录下的所有</span><span lang="EN-US" style="font-size: 12pt;"><font>dll</font></span><span style="">文件拷到</span><span lang="EN-US" style="font-size: 12pt;"><font>c:\Windows\system32</font></span><span style="">下</span><span lang="EN-US" style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="">3 </span><span style="">将</span><span lang="EN-US" style="font-size: 12pt;"><font>php.ini</font></span><span style="">(在邮件中同时发送的)中的路径修改为</span><span lang="EN-US" style="font-size: 12pt;"><font>php</font></span><span style="">的安装路径:</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-indent: 18pt; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>extension_dir </font></span><span lang="EN-US" style="">=</span><span style="">“</span><span lang="EN-US" style="">php</span><span style="">的安装路径”,</span><span style="">比如</span><span style="">:</span><span lang="EN-US" style="font-size: 12pt;"><font>extension_dir = "C:\php\ext" </font></span><span style="">;</span><span lang="EN-US" style="font-size: 12pt; color: red; font-family: SimSun;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>4 </font></span><span style="">将修改完的</span><span lang="EN-US" style="font-size: 12pt;"><font>php.ini</font></span><span style="">(或者邮件中附带的</span><span lang="EN-US" style="font-size: 12pt;"><font>php.ini</font></span><span style="">)放在</span><span lang="EN-US" style="font-size: 12pt;"><font>c:\windows</font></span><span style="">下</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>5 </font></span><span style="">配置</span><span lang="EN-US" style="font-size: 12pt;"><font> IIS </font></span><span style="">使其支持</span><span lang="EN-US" style="font-size: 12pt;"><font> PHP <p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-indent: 12pt; text-align: left;" align="left"><span style="">打开</span><span style="font-size: 12pt;"><font> </font></span><span lang="EN-US" style="">Internet Information Services (IIS) Manager</span><span style="">(共有四处修改)</span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;"><p></p></span></p>
<p><span lang="EN-US" style=""><br style="" clear="all"></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">a)</span><span style="">打开</span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">Web Service Extensions---&gt;Add a new web service extension---&gt; <span style="color: #ff6600;">"extension name":".php" ;;"required files":"c:\php\</span></span><font><span lang="EN-US" style="font-size: 12pt; color: #ff6600;">php5isapi.dll"</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></font></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 10pt;">&lt;shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;stroke joinstyle="miter"&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/f&gt;&lt;f eqn="sum @0 1 0"&gt;&lt;/f&gt;&lt;f eqn="sum 0 0 @1"&gt;&lt;/f&gt;&lt;f eqn="prod @2 1 2"&gt;&lt;/f&gt;&lt;f eqn="prod @3 21600 pixelWidth"&gt;&lt;/f&gt;&lt;f eqn="prod @3 21600 pixelHeight"&gt;&lt;/f&gt;&lt;f eqn="sum @0 0 1"&gt;&lt;/f&gt;&lt;f eqn="prod @6 1 2"&gt;&lt;/f&gt;&lt;f eqn="prod @7 21600 pixelWidth"&gt;&lt;/f&gt;&lt;f eqn="sum @8 21600 0"&gt;&lt;/f&gt;&lt;f eqn="prod @7 21600 pixelHeight"&gt;&lt;/f&gt;&lt;f eqn="sum @10 21600 0"&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/path&gt;&lt;lock aspectratio="t" v:ext="edit"&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape id="_x0000_i1025" style="WIDTH: 834pt; HEIGHT: 574.5pt" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image001.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p><span lang="EN-US" style=""><br style="" clear="all"></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>b)</font></span><span style="">打开</span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">"Default web site"---&gt;"properties"---&gt;"home directory"---&gt;"configuration"---&gt;"mapping"---&gt;"add"---&gt;<span style="color: #ff6600;">"extention":".php"<p></p></span></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt; color: #ff6600; font-family: SimSun;"><span style=""> </span>"executable":"c:\php\</span><span lang="EN-US" style="font-size: 12pt; color: #ff6600;"><font>php5isapi.dll"<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 10pt;">&lt;shape id="_x0000_i1026" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image003.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>c)</font></span><span style="">打开</span><span lang="EN-US" style="font-size: 12pt;"><font> “moodle” --</font></span><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt;"><font> “</font></span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">properties</span><span lang="EN-US" style="font-size: 12pt;"><font>” -</font></span><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><font><span lang="EN-US"> “</span><span lang="EN-US" style="font-size: 12pt;">virtural directory”-</span></font><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><font><span lang="EN-US" style="font-size: 12pt;">”</span><span lang="EN-US"> </span><span lang="EN-US" style="font-size: 12pt;">configuration”-</span></font><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><font><span lang="EN-US" style="font-size: 12pt;">”</span><span lang="EN-US"> </span><span lang="EN-US" style="font-size: 12pt;">mapping”-</span></font><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><font><span lang="EN-US"> “</span><span lang="EN-US" style="font-size: 12pt;">add”-</span></font><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><font><span lang="EN-US"> <span style="color: #ff6600;">“</span></span><span lang="EN-US" style="font-size: 12pt; color: #ff6600;">excutable”:</span></font><span lang="EN-US" style="font-size: 12pt; color: #ff6600; font-family: SimSun;"> "c:\php\</span><span lang="EN-US" style="font-size: 12pt; color: #ff6600;"><font>php5isapi.dll"<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt; color: #ff6600;"><font><span style=""> </span>“extension”:”.php”(</font></span><span style="">注意:有个点</span><span lang="EN-US" style="font-size: 12pt; color: #ff6600;"><font>)<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 10pt;">&lt;shape id="_x0000_i1027" style="WIDTH: 407.25pt; HEIGHT: 403.5pt" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image005.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p><span lang="EN-US" style=""><br style="" clear="all"></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><font><span lang="EN-US" style="font-size: 12pt;">d)</span><span lang="EN-US" style="font-size: 10pt;"> </span></font><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">defaultwebsite-</span><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">“properties”-</span><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">“document”-</span><span lang="EN-US" style="font-size: 12pt; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt; font-family: SimSun;">”add<span style="color: #ff6600;">”-</span></span><span lang="EN-US" style="font-size: 12pt; color: #ff6600; font-family: Wingdings;"><span style="">à</span></span><span lang="EN-US" style="font-size: 12pt; color: #ff6600; font-family: SimSun;">”index.php”</span><span lang="EN-US" style="font-size: 10pt;">&lt;shape id="_x0000_i1028" style="WIDTH: 652.5pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;font face="Times New Roman"&gt; &lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image007.png"&gt;&lt;/imagedata&gt;&lt;/font&gt;&lt;/shape&gt;</span><span lang="EN-US" style="font-size: 12pt;"><br style="" clear="all"></span><span style="">以上步骤进行完以后,就可以用</span><span lang="EN-US" style="font-size: 12pt;"><font>localhost/moodle</font></span><span style="">打开</span><span lang="EN-US" style="font-size: 12pt;"><font>moodle </font></span><span style="">网站了。以下安装</span><span lang="EN-US" style="font-size: 12pt;"><font>mysql<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><span style=""><font></font></span></span><span style="">五</span><span style="font-size: 12pt;"><font> </font></span><span style="">安装</span><span lang="EN-US" style="font-size: 12pt;"><font>mysql<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>1 </font></span><span style="">选择</span><span lang="EN-US" style="font-size: 12pt;"><font> typical<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 10pt;">&lt;shape id="_x0000_i1029" style="WIDTH: 429.75pt; HEIGHT: 322.5pt" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image009.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="">&lt;shape id="_x0000_i1030" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image011.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p><span lang="EN-US" style=""><br style="" clear="all"></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>2<span style=""> </span>skip sign_up<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;">&lt;shape id="_x0000_i1031" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image013.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>3 </font></span><span style="">选择</span><span lang="EN-US" style="font-size: 12pt;"><font><span style=""> </span>configure the mysql server now<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;">&lt;shape id="_x0000_i1032" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image015.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>4</font></span><span style="">选择</span><span lang="EN-US" style="font-size: 12pt;"><font>Detailed configuration<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;">&lt;shape id="_x0000_i1033" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image017.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>5 </font></span><span style="">选择</span><span lang="EN-US" style="font-size: 12pt;"><p></p></span></p>
<p class="MsoNormal" style="" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>server <p></p></font></span></p>
<p class="MsoNormal" style="" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>machine</font>&lt;shape id="_x0000_i1034" style="WIDTH: 768pt; HEIGHT: 552.75pt" type="#_x0000_t75"&gt;&lt;font face="Times New Roman"&gt; &lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image019.png"&gt;&lt;/imagedata&gt;&lt;/font&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>6</font>&lt;shape id="_x0000_i1035" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;font face="Times New Roman"&gt; &lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image021.png"&gt;&lt;/imagedata&gt;&lt;/font&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>7</font>&lt;shape id="_x0000_i1036" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;font face="Times New Roman"&gt; &lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image023.png"&gt;&lt;/imagedata&gt;&lt;/font&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;">&lt;shape id="_x0000_i1037" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image025.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><font>8</font></span><span style="">设置</span><span lang="EN-US" style="font-size: 12pt;"><font>ps: root<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">&lt;shape id="_x0000_i1038" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image027.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;</span><span lang="EN-US" style="font-size: 12pt;"><br style="" clear="all"><font>9<p></p></font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;">&lt;shape id="_x0000_i1039" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image029.png"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/imagedata&gt;&lt;/shape&gt;<p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US" style="font-size: 12pt;"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style=""><p></p></span></p>
<p class="MsoNormal" style="" align="left"><span style="">10 此时 mysql将会自动产生一个名为 mysql 数据库。Mysql的安装可以到此为止,在moodle的安装过程中只要选择数据库名为:moodle 用户名:root密码:root 即可。</span><span style=""><p></p></span></p>
<p class="MsoNormal" style="" align="left"><span style=""><p></p></span></p>
<p class="MsoNormal" style="" align="left"><span style=""><p></p></span></p>
<p class="MsoNormal" style="" align="left"><span style="">11 为了给mysql安装图形化界面也可以按装phpadmin(phpMyAdmin-2.6.1-pl3已经在你的flash memory中)</span><span style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">在moodle源代码所在的目录中建立名为myphp的目录这里为(C:\moodle\myphp),将phpMyAdmin-2.6.1-pl3中的所有文件放入myphp中。</span><span style=""><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">然后配置</span><span lang="EN-US"><font>config.inc.php</font></span><span style="">文件:(如果一切按照前面的路径名则可以用邮件中的附带的</span><span lang="EN-US"><font>config.inc.php</font></span><span style="">直接跳过该步)</span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US"><font>1 </font></span><span style="">搜索</span><span lang="EN-US"><font>$cfg['PmaAbsoluteUri']</font></span><span style="">,设置你的</span><span lang="EN-US"><font>phpmyadmin</font></span><span style="">的</span><span lang="EN-US"><font>URL</font></span><span style="">,如:</span><span lang="EN-US"><font>$cfg['PmaAbsoluteUri'] = '</font><a href="http://localhost/moodle/"><font>http://localhost/moodle/</font></a><font>myphp'; </font></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US"><font>2</font></span><span style="">搜索</span><span lang="EN-US"><font>$cfg['blowfish_secret']=</font></span><span lang="EN-US" style=""> </span><span style="">'root'</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: left;" align="left"><span style="">3</span><span style="">搜索</span><span style="">$cfg['Servers'][$i]['user']<span style=""> </span>= 'root';<span style=""> </span><p></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">4</span><span style="">搜索</span><span style="">$cfg['Servers'][$i]['password'] = 'root';<span style=""> </span></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">现在打开</span><span lang="EN-US"><a href="http://localhost/moodle/myphp"><font>http://localhost/moodle/myphp</font></a><font> </font></span><span style="">如果能够显示如下网页则成功!</span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US">&lt;shape id="_x0000_i1040" style="WIDTH: 768pt; HEIGHT: 8in" type="#_x0000_t75"&gt;&lt;imagedata o:title="" src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C03%5Cclip_image031.png"&gt;&lt;/imagedata&gt;&lt;/shape&gt;</span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span lang="EN-US"><p><font></font></p></span></p>
<p class="MsoNormal" style="margin: 5pt 0cm; text-align: left;" align="left"><span style="">六</span><font> </font><span style="">完成</span><span lang="EN-US"><font>moodle</font></span><span></span></p>

你可能感兴趣的:(windows)