亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? install-apache-php-mysql.php.htm

?? complete details about using SQL applications
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<html><head><title>Installing Apache PHP MySQL</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="install-apache-php-mysql.php_files/styles.css">
<meta name="keywords" content="install apache php mysql, apache php mysql installer, windows apache mysql php, apache install mysql php, php for windows">
<meta name="description" content="How to easily install PHP, Apache and MySQL in Windows">
<meta name="netinsert" content="0.0.1.3.4.4.1">
<script language="JavaScript1.1" type="text/javascript">
<!-- // hide from old browsers
if (parent.frames.length > 0) top.location.replace(document.location); // Escape from any referring site's frame, but preserve one-click "Back". 
-->
</script><!--body onLoad="if ( top !=self ) { top.location = self.location; }"--></head>


<body>
<!-- google_ad_section_start -->
<table align="center" background="install-apache-php-mysql.php_files/bg1.gif" border="0" cellpadding="0" cellspacing="0" height="22" width="650">
 <tbody><tr>
  <td>&nbsp;</td>
 </tr>
</tbody></table>
<table align="center" border="0" cellspacing="0" width="650">
 <tbody><tr> 
  <td class="maincell" background="install-apache-php-mysql.php_files/bg2.gif">    <h1 align="center">Installing Apache PHP and MySQL</h1>
    <p>&nbsp;</p>
   <p>PHP and MySQL are usually associated with LAMP (Linux, Apache, MySQL, PHP). 
    However, most PHP developer ( including me ) are actually using Windows when 
    developing the PHP application. So this page will only cover the WAMP ( Windows, 
    Apache, MySQL, PHP ). You will learn how to install Apache, PHP, and MySQL 
    under Windows platform. </p>
   <p>
<script type="text/javascript"><!--
google_ad_client = "pub-0502328448303498";
google_alternate_ad_url = "http://www.php-mysql-tutorial.com/library/adsense/google_adsense_script.html";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000080";
google_color_url = "666666";
google_color_text = "000000";
//--></script>
<script type="text/javascript" src="install-apache-php-mysql.php_files/show_ads">
</script><iframe name="google_ads_frame" src="install-apache-php-mysql.php_files/ads.htm" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" height="280" scrolling="no" width="336"></iframe>   </p>
    <p>The first step is to download the packages :</p>
    <ul>
        <li>Apache : <a href="http://www.apache.org/" target="_blank">www.apache.org</a></li>
        <li>PHP : <a href="http://www.php.net/" target="_blank">www.php.net</a></li>
        <li>MySQL : <a href="http://dev.mysql.com/downloads/" target="_blank">www.mysql.com</a></li>
    </ul>
    
   <p>You should get the latest version of each packages. As for the example in 
    this tutorial i'm using Apache 2.0.50 ( apache_2.0.50-win32-x86-no_ssl.msi 
    ), PHP 4.3.10 ( php-4.3.10-Win32.zip ) and MySQL 4.0.18 ( mysql-4.0.18-win.zip 
    ). </p>
    <p>Now let's start the installation process one by one.</p>
    <ul>
        <li><a href="#apache">Installing Apache</a></li>
        <li><a href="#php">Installing PHP</a></li>
        <li><a href="#apacheconf">Modifying Apache Configuration</a></li>
        <li><a href="#mysql">Installing MySQL</a></li>
        <li><a href="#phpconf">Modifying PHP Configuration File</a></li>
    </ul>
	
	</td>
 </tr>
</tbody></table>
<table align="center" border="0" cellspacing="0" width="650">
 <tbody><tr> 
  <td class="maincell" background="install-apache-php-mysql.php_files/bg2.gif"> <a name="apache">&nbsp;</a> 
    <h2>Installing Apache</h2>
    <p>Installing apache is easy if you download the Microsoft Installer ( .msi 
        ) package. Just double click on the icon to run the installation wizard. 
        Click next until you see the Server Information window. You can enter 
        localhost for both the Network Domain and Server Name. As for the administrator's 
        email address you can enter anything you want. </p>
    <p>I'm using Windows XP and installed Apache as Service so everytime I start 
        Windows Apache is automatically started. </p>
    <p align="center"><img src="install-apache-php-mysql.php_files/install-apache-1.png" alt="Install Apache PHP MySQL - Enter Apache server information" height="380" width="503"></p>
    <p>Click the Next button and choose Typical installation. Click Next one more 
        time and choose where you want to install Apache ( I installed it in the 
        default location <span class="courier">C:\Program Files\Apache Group</span> 
        ). Click the Next button and then the Install button to complete the installation 
        process.</p>
    <p>To see if you Apache installation was successful open up you browser and 
        type <span class="courier">http://localhost</span> in the address bar. 
        You should see something like this :</p>
    
   <p align="center"><img src="install-apache-php-mysql.php_files/install-apache-2.jpg" alt="Install Apache PHP MySQL  - Testing Apache Installation ( thumbnail created using PHP graphics library )" height="369" width="500"></p>
    
   <p>&nbsp;</p>
    <p>By default Apache's <strong>document root </strong>is set to<strong> <span class="courier">htdocs</span></strong><span class="courier"> 
        </span>directory. The document root is where you must put all your PHP 
        or HTML files so it will be process by Apache ( and can be seen through 
        a web browser ). Of course you can change it to point to any directory 
        you want. The configuration file for Apache is stored in <span class="courier">C:\Program 
        Files\Apache Group\Apache2\conf\httpd.conf </span>( assuming you installed 
        Apache in <span class="courier">C:\Program Files\Apache Group</span> ) 
        . It's just a plain text file so you can use Notepad to edit it. </p>
    <p>For example, if you want to put all your PHP or HTML files in <span class="courier">C:\www 
        </span>just find this line in the httpd.conf :</p>
    <p><span class="courier">DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" 
        </span></p>
    <p>and change it to :</p>
    <p><span class="courier">DocumentRoot "C:/www"</span></p>
    <p>After making changes to the configuration file you have to restart Apache 
        ( <span class="courier">Start &gt; Programs &gt; Apache HTTP Server 2.0.50 
        &gt; Control Apache Server &gt; Restart</span> ) to see the effect.</p>
    <p>Another configuration you may want to change is the <strong>directory index.</strong> 
        This is the file that Apache will show when you request a directory. As 
        an example if you type <a href="http://www.php-mysql-tutorial.com/" target="_blank">http://www.php-mysql-tutorial.com/</a> 
        without specifying any file the <a href="http://www.php-mysql-tutorial.com/index.php" target="_blank">index.php</a> 
        file will be automatically shown.</p>
    <p>Suppose you want apache to use<span class="courier"> index.html, index.php</span> 
        or<span class="courier"> main.php</span> as the directory index you can 
        modify the <span class="courier">DirectoryIndex</span> value like this 
        :</p>
    <p class="courier">DirectoryIndex index.html index.php main.php</p>
    <p>Now whenever you request a directory such as <span class="courier">http://localhost/</span> 
        Apache will try to find the <span class="courier">index.html</span> file 
        or if it's not found Apache will use <span class="courier">index.php</span>. 
        In case <span class="courier">index.php</span> is also not found then 
        <span class="courier">main.php</span> will be used.</p></td>
 </tr>
</tbody></table>
<table align="center" border="0" cellspacing="0" width="650">
 <tbody><tr> 
  <td class="maincell" background="install-apache-php-mysql.php_files/bg2.gif">    <p><a name="php">&nbsp;</a></p>
    <h2>Installing PHP</h2>
    
   <p>First, extract the PHP package ( php-4.3.10-Win32.zip ). I extracted the 
    package in the directory where Apache was installed ( <span class="courier">C:\Program 
    Files\Apache Group\Apache2</span> ). Change the new created directory name 
    to <span class="courier">php</span> ( just to make it shorter ). Then copy 
    the file <span class="courier">php.ini-dist</span> in PHP directory to you 
    windows directory ( C:\Windows or C:\Winnt depends on where you installed 
    Windows ) and rename the file to <span class="courier">php.ini</span>. This 
    is the PHP configuration file and we'll take a look what's in it later on.</p>
    <p> Next, move the php4ts.dll file from the newly created php directory into 
        the sapi subdirectory. Quoting from php installation file you can also 
        place php4ts.dll in other places such as :</p>
    <ul>
        <li> In the directory where apache.exe is start from ( <span class="courier">C:\Program 
            Files\Apache Group\Apache2</span> \bin)</li>
        <li>In your %SYSTEMROOT%\System32, %SYSTEMROOT%\system and %SYSTEMROOT% 
            directory.<br>
            Note: %SYSTEMROOT%\System32 only applies to Windows NT/2000/XP)</li>
        <li>In your whole %PATH%</li>
    </ul>
    <p><strong>Side Note :</strong> Thanks to Shannon Tang for pointing this out</p>
&nbsp;</td>
 </tr>
</tbody></table>
<table align="center" border="0" cellspacing="0" width="650">
 <tbody><tr> 
  <td class="maincell" background="install-apache-php-mysql.php_files/bg2.gif">   <p><a name="apacheconf">&nbsp;</a></p>
    <h2>Modifying Apache Configuration</h2>
    <p>Apache doesn't know that you just install PHP. We need to tell Apache about 
        PHP and where to find it. Open the Apache configuration file in <span class="courier">C:\Program 
        Files\Apache Group\Apache2\conf\httpd.conf and add the following three 
        lines :</span></p>
    <p class="courier">LoadModule php4_module php/sapi/php4apache2.dll<br>
        AddType application/x-httpd-php .php<br>
        AddType application/x-httpd-php-source .phps </p>
    <p>The first line tells Apache where to load the dll required to execute PHP 
        and the second line means that every file that ends with <span class="courier">.php</span> 
        should be processed as a PHP file. You can actually change it to anything 
        you want like <span class="courier">.html </span>or even <span class="courier">.asp</span>! 
        The third line is added so that you can view your php file source code 
        in the browser window. You will see what this mean when you browse this 
        tutorial and click the link to the example's source code like <a href="http://www.php-mysql-tutorial.com/examples/source/php-tutorial/array.phps" target="_blank">this 
        one</a>.</p>
    <p>Now restart Apache for the changes to take effect ( <span class="courier">Start 
        &gt; Programs &gt; Apache HTTP Server 2.0.50 &gt; Control Apache Server 
        &gt; Restart</span> ) . To check if everything is okay create a new file, 
        name it as <span class="courier">test.php</span> and put it in document 
        root directory ( <span class="courier">C:\Program Files\Apache Group\Apache2\htdocs 
        )</span>. The content of this file is shown below.</p>
    <p> 
    </p><div class="codebox">&lt;?php<br>
        phpinfo();<br>
        ?&gt; </div>
    <p><span class="phpcode">phpinfo() </span>is the infamous PHP function which 
        will spit out all kinds of stuff about PHP and your server configuration. 
        Type <span class="courier">http://localhost/test.php</span> on your browser's 
        address bar and if everything works well you should see something like 
        this :</p>
    
   <p align="center"><img src="install-apache-php-mysql.php_files/test-php-installation.gif" height="492" width="605"> 
   </p></td>
 </tr>
</tbody></table>
<table align="center" border="0" cellspacing="0" width="650">
 <tbody><tr> 
  <td class="maincell" background="install-apache-php-mysql.php_files/bg2.gif">
    <p><a name="mysql">&nbsp;</a></p>
    <h2>Installing MySQL</h2>
    <p>First extract the package ( mysql-4.0.18-win.zip ) to a temporary directory, 
        then run <span class="courier">setup.exe. </span>Keep clicking the next 
        button to complete the installation. By default MySQL will be installed 
        in <span class="courier">C:\mysql.</span></p>
    <p>Open a DOS window and go to <span class="courier">C:\mysql\bin </span>and 
        then run <span class="courier">mysqld-nt --console</span> , you should 
        see some messages like these :</p>
    <div class="codebox"><strong>C:\mysql\bin&gt;mysqld-nt --console</strong><br>
        InnoDB: The first specified data file .\ibdata1 did not exist:<br>
        InnoDB: a new database to be created!<br>
        040807 10:54:09 InnoDB: Setting file .\ibdata1 size to 10 MB<br>
        InnoDB: Database physically writes the file full: wait...<br>
        040807 10:54:11 InnoDB: Log file .\ib_logfile0 did not exist: new to be 
        created 
        <p>InnoDB: Setting log file .\ib_logfile0 size to 5 MB<br>
            InnoDB: Database physically writes the file full: wait...<br>
            040807 10:54:12 InnoDB: Log file .\ib_logfile1 did not exist: new 
            to be created</p>
        <p>InnoDB: Setting log file .\ib_logfile1 size to 5 MB<br>
            InnoDB: Database physically writes the file full: wait...<br>
            InnoDB: Doublewrite buffer not found: creating new<br>
            InnoDB: Doublewrite buffer created<br>
            InnoDB: Creating foreign key constraint system tables<br>
            InnoDB: Foreign key constraint system tables created<br>
            040807 10:54:31 InnoDB: Started<br>
            mysqld-nt: ready for connections.<br>
            Version: '4.0.18-nt' socket: '' port: 3306<br>
        </p>
    </div>
    <p>Now open another DOS window and type <span class="courier">C:\mysql\bin\mysql 
        </span></p>
    <p>if your installation is successful you will see the MySQL client running 
        :</p>
    <p> 
    </p><div class="codebox"><strong>C:\mysql\bin&gt;mysql</strong><br>
        Welcome to the MySQL monitor. Commands end with ; or \g.<br>
        Your MySQL connection id is 1 to server version: 4.0.18-nt 
        <p>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.</p>
        <p>mysql&gt;</p>
    </div><p></p>
    Type <span class="courier">exit </span>on the <span class="courier">mysql&gt;</span> 
    prompt to quit the MySQL client. 
    <p>Now let's<strong> install MySQL as a Service.</strong> The process is simple 
        just type <span class="courier">mysqld-nt --install</span> to install 
        the service and <span class="courier">net start mysql</span> to run the 
        service. But make sure to shutdown the server first using <span class="courier">mysqladmin 
        -u root shutdown</span></p>
    <p> 
    </p><div class="codebox"> 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91老师国产黑色丝袜在线| 久久久久久久久99精品| 成人在线一区二区三区| 久久99国产乱子伦精品免费| 三级不卡在线观看| 天天色天天爱天天射综合| 亚洲第一在线综合网站| 三级久久三级久久久| 天天色综合天天| 麻豆专区一区二区三区四区五区| 奇米在线7777在线精品| 精品一区二区影视| 成人黄色av电影| 日本久久电影网| 欧美日本在线播放| 精品久久久久久久久久久院品网| 精品欧美一区二区在线观看| 2021国产精品久久精品| 国产精品国产三级国产a | 成人黄动漫网站免费app| 成人福利视频在线| 色综合天天视频在线观看| 日本韩国一区二区三区视频| 欧美肥妇毛茸茸| 久久影音资源网| 亚洲日本中文字幕区| 亚洲va天堂va国产va久| 激情久久五月天| 色偷偷一区二区三区| 欧美一区二区三区在线视频 | 韩国一区二区在线观看| 成人精品一区二区三区中文字幕 | 亚洲激情图片一区| 日韩在线一区二区三区| 国产激情视频一区二区三区欧美 | 国产麻豆91精品| 一本色道综合亚洲| 精品国产一区二区三区不卡| 亚洲人成人一区二区在线观看| 午夜免费久久看| 粉嫩一区二区三区在线看| 欧美日韩亚洲高清一区二区| 国产天堂亚洲国产碰碰| 香蕉av福利精品导航| 成人激情小说乱人伦| 3d动漫精品啪啪一区二区竹菊| 中文一区一区三区高中清不卡| 日韩精品一级二级| 色欧美日韩亚洲| 日本一区免费视频| 理论片日本一区| 精品视频资源站| 国产精品网站一区| 黄一区二区三区| 69堂国产成人免费视频| 亚洲六月丁香色婷婷综合久久 | 欧美综合一区二区| 国产午夜精品一区二区三区嫩草 | 亚洲主播在线观看| 国产91丝袜在线观看| 日韩亚洲电影在线| 亚洲第一狼人社区| 欧美综合亚洲图片综合区| 国产精品麻豆欧美日韩ww| 国内精品免费在线观看| 日韩精品在线一区二区| 日本不卡中文字幕| 欧美乱妇一区二区三区不卡视频| 中文字幕一区二区三区精华液| 国产成人自拍网| 久久久久九九视频| 国产在线麻豆精品观看| 日韩久久久久久| 久久精品国产亚洲高清剧情介绍| 在线91免费看| 男人的天堂久久精品| 51久久夜色精品国产麻豆| 日韩国产成人精品| 欧美一区二区三区啪啪| 老司机精品视频线观看86| 日韩欧美综合一区| 久久69国产一区二区蜜臀| 精品国产自在久精品国产| 美女网站视频久久| 久久精品人人做人人综合| 国产精品一区二区黑丝| 国产精品网站在线播放| 97久久超碰精品国产| 亚洲精品成人悠悠色影视| 欧美亚洲日本国产| 首页国产欧美久久| 欧美电影免费观看高清完整版| 日韩福利视频导航| 久久久久99精品国产片| 成人成人成人在线视频| 一区二区三区四区亚洲| 精品国产第一区二区三区观看体验| 另类小说综合欧美亚洲| 国产欧美一区二区三区在线看蜜臀| 东方欧美亚洲色图在线| 一卡二卡三卡日韩欧美| 欧美一区二区人人喊爽| 国产精品77777竹菊影视小说| 中文字幕在线播放不卡一区| 欧美亚洲图片小说| 国产一区二区三区精品欧美日韩一区二区三区 | 国产自产v一区二区三区c| 欧美激情一区二区三区| 欧美日精品一区视频| 国内精品久久久久影院薰衣草| 欧美高清在线一区二区| 欧美三区在线观看| 国产**成人网毛片九色| 一区二区三区在线观看动漫| 日韩一级二级三级精品视频| 不卡的看片网站| 免费在线观看一区二区三区| 国产精品二三区| 日韩欧美在线网站| 一本一本大道香蕉久在线精品| 麻豆精品国产传媒mv男同| 综合中文字幕亚洲| 亚洲精品一区二区三区影院 | 欧美精品日韩一区| 国产iv一区二区三区| 日韩中文字幕区一区有砖一区| 国产精品久久久久一区二区三区| 欧美一区二区三区四区高清| 91亚洲资源网| 国产宾馆实践打屁股91| 日本va欧美va欧美va精品| 亚洲人成精品久久久久| 久久久亚洲高清| 欧美一区二区三区四区视频| 91麻豆精品秘密| 成人激情黄色小说| 国产又黄又大久久| 日韩中文字幕不卡| 亚洲一区二区三区四区在线免费观看 | 国产精品久久久久久久蜜臀| 91精品国产综合久久精品麻豆| 色国产综合视频| av一区二区久久| 国产福利一区二区三区视频在线 | 26uuu亚洲| 日韩一区二区三区视频在线| 欧美性大战久久久久久久| a亚洲天堂av| 黑人巨大精品欧美黑白配亚洲| 国产精品久久毛片av大全日韩| 色婷婷av一区二区三区gif| youjizz国产精品| 国产在线麻豆精品观看| 不卡一区二区中文字幕| 亚洲视频网在线直播| 国产精品毛片a∨一区二区三区| 久久综合色婷婷| 久久久久久**毛片大全| 欧美国产综合一区二区| 国产精品传媒入口麻豆| 亚洲精品国产一区二区精华液| 亚洲日本在线视频观看| 亚洲一区免费观看| 视频在线在亚洲| 久久国产尿小便嘘嘘尿| 精品一区二区三区免费毛片爱| 久久丁香综合五月国产三级网站| 激情综合一区二区三区| 国产精品夜夜爽| 91尤物视频在线观看| 在线观看亚洲精品视频| 欧美精品三级日韩久久| 欧美日韩一二区| 亚洲精品videosex极品| 一区在线播放视频| 亚洲综合在线免费观看| 日本视频中文字幕一区二区三区| 免费成人深夜小野草| 国产a精品视频| 制服丝袜一区二区三区| 欧美精品一区二区三区高清aⅴ| 国产精品丝袜一区| 亚洲尤物在线视频观看| 久久国产综合精品| 懂色av中文一区二区三区| 91国模大尺度私拍在线视频 | 337p粉嫩大胆色噜噜噜噜亚洲 | 欧美精品视频www在线观看 | 国产精品你懂的在线欣赏| 亚洲国产精品久久人人爱蜜臀| 日韩国产欧美在线视频| 懂色av一区二区三区免费看| 在线观看日韩高清av| 久久综合精品国产一区二区三区 | 在线观看91精品国产麻豆| 久久久久国产精品人| 午夜影视日本亚洲欧洲精品| 国产一区二区三区av电影| 欧美视频自拍偷拍| 国产精品免费视频网站|