⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 如何在win32底下安裝apache + mysql + php + phpmyadmin.htm

📁 主要是我最近两月在公司通过百度学习的内容,有AJAX,DWR,JAVA实现文件的上传和下载.主要目的在与告诉大家一个成功程序员(JAVA)是如何学习的,需要学习什么内容.以及学习的态度.
💻 HTM
📖 第 1 页 / 共 4 页
字号:
  <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&nbsp;,&nbsp;config&nbsp;,&nbsp;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>&nbsp;&nbsp;&nbsp;我們這邊用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'']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;''http'';<BR>$cfg[''Servers''][$i][''user'']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;'''';<BR>$cfg[''Servers''][$i][''password'']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;'''';</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>&nbsp;&nbsp;&nbsp;6.&nbsp;然後進到phpMyAdmin的網頁中:<A 
href="http://127.0.0.1/phpmyadmin/" 
target=_blank>http://127.0.0.1/phpmyadmin/</A>&nbsp;一開始他會跳出一個對話方塊叫你輸入帳號密碼<BR>&nbsp;&nbsp;&nbsp;由於我們一開始root帳號沒有設定密碼,因此只要用root登入就可以進入了</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;7.&nbsp;登入後如果很成功看到以下畫面那就代表你的phpMyAdmin設定完成嚕<BR>&nbsp;&nbsp;&nbsp;接下來有注意到下方的訊息嗎?找不到&nbsp;PHP&nbsp;內的&nbsp;mbstring&nbsp;編碼模組</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;8.&nbsp;既然找不到模組我們依然是從php.ini下手啦!利用Ctrl&nbsp;+&nbsp;F快速尋找<BR>&nbsp;&nbsp;&nbsp;一樣把前面的&nbsp;;&nbsp;符號去掉</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>&nbsp;&nbsp;&nbsp;改成</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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;9.&nbsp;重新啟動Apache之後就會發現那個錯誤訊息不見啦<BR>&nbsp;&nbsp;&nbsp;各位辛苦的做到這邊已經算是告一段落嚕,至於資料庫的安全性問題不在這個範圍</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;<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>&nbsp;<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>這沒什麼,我只是把別人寫的教學實際操作過一遍 <BR>並且把有問題的部份整理一下 <BR>經過測試,中間的環境變數是可以省略的 <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>&nbsp; <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&nbsp; <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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -