?? 如何在win32底下安裝apache + mysql + php + phpmyadmin.htm
字號:
<TBODY>
<TR>
<TD><FONT face=Tahoma size=1><B>Code:</B></FONT></TD>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=10 width="100%" bgColor=#aaaaff
border=0><TBODY>
<TR>
<TD bgColor=#fff8dc><FONT face=Arial,Tahoma
size=2>$cfg[''Servers''][$i][''auth_type'']:登入方式(http , config , cookie)<BR>$cfg[''Servers''][$i][''user'']:帳號密碼(登入方式為config才會用到)<BR>$cfg[''Servers''][$i][''password'']:帳號密碼(登入方式為config才會用到)</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><FONT
color=red> 我們這邊用http做登入方式,http方式比較安全,因此我們把程式碼改成</FONT><BR>
<TABLE cellSpacing=0 cellPadding=0 width="90%" border=0>
<TBODY>
<TR>
<TD><FONT face=Tahoma size=1><B>Code:</B></FONT></TD>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=10 width="100%" bgColor=#aaaaff
border=0><TBODY>
<TR>
<TD bgColor=#fff8dc><FONT face=Arial,Tahoma
size=2>$cfg[''Servers''][$i][''auth_type''] = ''http'';<BR>$cfg[''Servers''][$i][''user''] = '''';<BR>$cfg[''Servers''][$i][''password''] = '''';</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><A
href="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-5.jpg"
target=_blank><IMG alt=開新視窗瀏覽圖片
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-5.jpg"
onload="javascript:if(this.width>400)this.width=400" border=0></A> </P>
<P><FONT color=blue> 6. 然後進(jìn)到phpMyAdmin的網(wǎng)頁中:<A
href="http://127.0.0.1/phpmyadmin/"
target=_blank>http://127.0.0.1/phpmyadmin/</A> 一開始他會跳出一個對話方塊叫你輸入帳號密碼<BR> 由於我們一開始root帳號沒有設(shè)定密碼,因此只要用root登入就可以進(jìn)入了</FONT><BR> <A
href="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-6.jpg"
target=_blank><IMG alt=開新視窗瀏覽圖片
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-6.jpg"
onload="javascript:if(this.width>400)this.width=400" border=0></A> </P>
<P><FONT
color=blue> 7. 登入後如果很成功看到以下畫面那就代表你的phpMyAdmin設(shè)定完成嚕<BR> 接下來有注意到下方的訊息嗎?找不到 PHP 內(nèi)的 mbstring 編碼模組</FONT><BR> <A
href="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-7.jpg"
target=_blank><IMG alt=開新視窗瀏覽圖片
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-7.jpg"
onload="javascript:if(this.width>400)this.width=400" border=0></A> </P>
<P><FONT
color=blue> 8. 既然找不到模組我們依然是從php.ini下手啦!利用Ctrl + F快速尋找<BR> 一樣把前面的 ; 符號去掉</FONT><BR>
<TABLE cellSpacing=0 cellPadding=0 width="90%" border=0>
<TBODY>
<TR>
<TD><FONT face=Tahoma size=1><B>Code:</B></FONT></TD>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=10 width="100%" bgColor=#aaaaff
border=0><TBODY>
<TR>
<TD bgColor=#fff8dc><FONT face=Arial,Tahoma
size=2>;extension=php_mbstring.dll</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><FONT
color=blue> 改成</FONT><BR>
<TABLE cellSpacing=0 cellPadding=0 width="90%" border=0>
<TBODY>
<TR>
<TD><FONT face=Tahoma size=1><B>Code:</B></FONT></TD>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=10 width="100%" bgColor=#aaaaff
border=0><TBODY>
<TR>
<TD bgColor=#fff8dc><FONT face=Arial,Tahoma
size=2>extension=php_mbstring.dll</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE> <A
href="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-8.jpg"
target=_blank><IMG alt=開新視窗瀏覽圖片
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-8.jpg"
onload="javascript:if(this.width>400)this.width=400" border=0></A> </P>
<P><FONT
color=blue> 9. 重新啟動Apache之後就會發(fā)現(xiàn)那個錯誤訊息不見啦<BR> 各位辛苦的做到這邊已經(jīng)算是告一段落嚕,至於資料庫的安全性問題不在這個範(fàn)圍</FONT><BR> <A
href="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-9.jpg"
target=_blank><IMG alt=開新視窗瀏覽圖片
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/4-9.jpg"
onload="javascript:if(this.width>400)this.width=400" border=0></A> <BR></P>
<P class=postfoot>posted on Monday, April 17, 2006 1:37 PM </P></DIV><LINK
href="http://blog.blueshop.com.tw/starlightslo/Services/Pingback.aspx"
rel=pingback><!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://blog.blueshop.com.tw/starlightslo/articles/21708.aspx"
dc:identifier="http://blog.blueshop.com.tw/starlightslo/articles/21708.aspx"
dc:title="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin"
trackback:ping="http://blog.blueshop.com.tw/starlightslo/services/trackbacks/21708.aspx" />
</rdf:RDF>
--><A name=feedback>
<DIV id=comments>
<H3>Feedback</H3>
<H4><A title="permalink: re: 如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin"
href="http://blog.blueshop.com.tw/starlightslo/articles/21708.aspx#35416">#</A> <A
name=35416></A>re: 如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin <SPAN>8/2/2006
4:03 PM </SPAN><A id=Comments.ascx_CommentList__ctl0_NameLink
target=_blank>charlin</A> </H4>
<P>感謝您熱心分享,解決了我工作遇到的問題! <A id=Comments.ascx_CommentList__ctl0_EditLink
href="javascript:__doPostBack('Comments.ascx$CommentList$_ctl0$EditLink','')"></A></P>
<H4><A title="permalink: re: 如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin"
href="http://blog.blueshop.com.tw/starlightslo/articles/21708.aspx#35431">#</A> <A
name=35431></A>re: 如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin <SPAN>8/2/2006
9:55 PM </SPAN><A id=Comments.ascx_CommentList__ctl1_NameLink
href="http://210.59.18.242/starlightslo/iest/index.asp" target=_blank>Tony</A>
</H4>
<P>這沒什麼,我只是把別人寫的教學(xué)實際操作過一遍 <BR>並且把有問題的部份整理一下 <BR>經(jīng)過測試,中間的環(huán)境變數(shù)是可以省略的 <A
id=Comments.ascx_CommentList__ctl1_EditLink
href="javascript:__doPostBack('Comments.ascx$CommentList$_ctl1$EditLink','')"></A></P></DIV>
<DIV id=commentform>
<TABLE cellSpacing=1 cellPadding=1 border=0>
<TBODY>
<TR>
<TD width=75>Title</TD>
<TD><INPUT id=PostComment.ascx_tbTitle style="WIDTH: 300px" size=40
value="re: 如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin"
name=PostComment.ascx:tbTitle></TD>
<TD><SPAN id=PostComment.ascx_RequiredFieldValidator1
style="VISIBILITY: hidden; COLOR: red" initialvalue=""
evaluationfunction="RequiredFieldValidatorEvaluateIsValid"
errormessage="Please enter a title"
controltovalidate="PostComment.ascx_tbTitle">Please enter a
title</SPAN></TD></TR>
<TR>
<TD width=75>Name</TD>
<TD><INPUT id=PostComment.ascx_tbName style="WIDTH: 300px" size=40
name=PostComment.ascx:tbName></TD>
<TD><SPAN id=PostComment.ascx_RequiredFieldValidator2
style="VISIBILITY: hidden; COLOR: red" initialvalue=""
evaluationfunction="RequiredFieldValidatorEvaluateIsValid"
errormessage="Please enter your name"
controltovalidate="PostComment.ascx_tbName">Please enter your
name</SPAN></TD></TR>
<TR>
<TD>Url</TD>
<TD><INPUT id=PostComment.ascx_tbUrl style="WIDTH: 300px" size=40
name=PostComment.ascx:tbUrl></TD>
<TD></TD></TR>
<TR>
<TD>驗證碼</TD>
<TD><INPUT id=PostComment.ascx_valtxt style="WIDTH: 60px"
name=PostComment.ascx:valtxt> <IMG id=PostComment.ascx_valImg alt=""
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/ValidateCode.jpg"
border=0></TD>
<TD></TD></TR>
<TR>
<TD colSpan=3>Comments <SPAN
id=PostComment.ascx_RequiredFieldValidator3
style="VISIBILITY: hidden; COLOR: red" initialvalue=""
evaluationfunction="RequiredFieldValidatorEvaluateIsValid"
errormessage="Please enter a comment"
controltovalidate="PostComment.ascx_tbComment">Please enter a
comment</SPAN><BR><TEXTAREA id=PostComment.ascx_tbComment style="WIDTH: 400px; HEIGHT: 193px" name=PostComment.ascx:tbComment rows=10 cols=50></TEXTAREA></TD></TR>
<TR>
<TD colSpan=3><INPUT id=PostComment.ascx_chkRemember type=checkbox
name=PostComment.ascx:chkRemember><LABEL
for=PostComment.ascx_chkRemember>Remember Me?</LABEL></TD></TR>
<TR>
<TD><INPUT language=javascript id=PostComment.ascx_btnSubmit onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " type=submit value=Submit name=PostComment.ascx:btnSubmit></TD>
<TD colSpan=2><SPAN id=PostComment.ascx_Message
style="COLOR: red"></SPAN></TD></TR></TBODY></TABLE></DIV></DIV>
<P id=footer>Powered by: <BR><A id=Footer1_Hyperlink1
href="http://scottwater.com/blog" name=Hyperlink1><IMG alt=""
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/100x30_Logo.gif"
border=0></A> <A id=Footer1_Hyperlink2 href="http://asp.net/"
name=Hyperlink2><IMG alt=""
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/PoweredByAsp.Net.gif"
border=0></A> <A id=Footer1_Hyperlink3 href="http://www.blueshop.com.tw/"
name=Hyperlink13><IMG alt=""
src="如何在Win32底下安裝Apache + MySQL + PHP + phpMyAdmin.files/blueshop_logo.gif"
border=0></A> <BR>Copyright ? Tony </P>
<SCRIPT class=javascript>
dp.SyntaxHighlighter.HighlightAll('code');
</SCRIPT>
<SCRIPT language=javascript type=text/javascript>
<!--
var Page_Validators = new Array(document.all["PostComment.ascx_RequiredFieldValidator1"], document.all["PostComment.ascx_RequiredFieldValidator2"], document.all["PostComment.ascx_RequiredFieldValidator3"]);
// -->
</SCRIPT>
<SCRIPT language=javascript type=text/javascript>
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" && clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") && (Page_ValidationVer == "125"))
ValidatorOnLoad();
}
function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</SCRIPT>
</FORM></BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -