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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

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

?? complete details about using SQL applications
?? HTM
?? 第 1 頁 / 共 2 頁
字號(hào):
<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"> 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩aⅴ一区二区三区四区五区| 不卡免费追剧大全电视剧网站| 日本一区免费视频| 欧美在线观看禁18| 成人免费毛片高清视频| 日韩av电影一区| 亚洲精品国产第一综合99久久 | 麻豆久久久久久久| 中文字幕综合网| 久久嫩草精品久久久精品| 8v天堂国产在线一区二区| 99久久精品免费看国产| 国产一区二区0| 免费人成精品欧美精品| 亚洲国产欧美一区二区三区丁香婷| 欧美韩国日本综合| 久久嫩草精品久久久精品一| 56国语精品自产拍在线观看| 色综合中文字幕| 成人精品免费看| 国产精品一卡二| 激情深爱一区二区| 美女在线观看视频一区二区| 日韩在线观看一区二区| 亚洲国产一区二区视频| 一级特黄大欧美久久久| 亚洲三级视频在线观看| 国产精品美女久久久久久久| 久久久久久久久伊人| 精品成人私密视频| 日韩精品一区二区三区swag| 91精品欧美福利在线观看| 欧美高清视频一二三区| 欧美日韩一区二区三区高清| 色婷婷精品大视频在线蜜桃视频 | 美女mm1313爽爽久久久蜜臀| 日韩主播视频在线| 日韩一区欧美二区| 日本系列欧美系列| 久久国产生活片100| 蜜臀精品久久久久久蜜臀| 丝袜美腿亚洲色图| 免费高清不卡av| 精品一区二区影视| 国产精品一卡二卡在线观看| 国产成人综合视频| 成人激情免费网站| 色呦呦国产精品| 欧美日韩精品综合在线| 欧美一级二级在线观看| 精品福利一二区| 国产日本欧美一区二区| 中文字幕一区二区三区av| 亚洲理论在线观看| 偷拍自拍另类欧美| 六月丁香婷婷色狠狠久久| 国产一区二区三区久久久| 国产精品18久久久久久久久久久久| 成人一道本在线| 日本韩国欧美一区| 欧美一级在线免费| 日本一区免费视频| 一区二区成人在线观看| 日韩黄色小视频| 国产精品白丝av| 91免费看`日韩一区二区| 日本韩国一区二区| 欧美成人性战久久| 国产精品久久久久久久裸模| 一个色妞综合视频在线观看| 久久精品久久综合| 不卡的av网站| 欧美精品粉嫩高潮一区二区| 欧美精品一区二区高清在线观看| 亚洲国产成人自拍| 日韩av一区二区三区四区| 国产精品亚洲人在线观看| 在线欧美日韩国产| 欧美精品一区二区三区久久久 | 日韩一区二区影院| 综合自拍亚洲综合图不卡区| 五月天一区二区三区| 国产一区二区精品久久99| 国产成a人亚洲精品| 日本韩国欧美一区| 久久久久久久久久久久久女国产乱 | 国产乱子伦视频一区二区三区 | 国产精品一级在线| 欧洲精品一区二区| 91精品国产综合久久久久| 欧美激情综合在线| 麻豆中文一区二区| 色哟哟日韩精品| 日本一区免费视频| 久久精品国产澳门| 日本二三区不卡| 国产欧美日韩不卡免费| 亚洲h在线观看| 91视频免费看| 久久久久99精品一区| 日韩影院在线观看| 欧美性高清videossexo| 欧美韩国日本一区| 老司机精品视频在线| 色婷婷av一区二区三区gif| 国产午夜亚洲精品不卡| 日韩av高清在线观看| 欧美影院一区二区| 综合婷婷亚洲小说| 丁香婷婷综合五月| 26uuu亚洲综合色| 麻豆视频一区二区| 欧美日韩一区 二区 三区 久久精品 | 成人少妇影院yyyy| 日韩欧美久久久| 奇米精品一区二区三区在线观看| 欧美性三三影院| 亚洲免费观看在线观看| 国产成人一区在线| 精品乱人伦一区二区三区| 亚洲18女电影在线观看| 在线观看亚洲a| 亚洲图片你懂的| 99久精品国产| 国产精品久久久久天堂| 高清国产一区二区三区| 国产视频一区二区在线| 国产美女娇喘av呻吟久久| 欧美电影免费提供在线观看| 日本欧美加勒比视频| 91精品蜜臀在线一区尤物| 日韩专区欧美专区| 欧美一卡2卡3卡4卡| 日本欧美韩国一区三区| 日韩一区二区三区观看| 久久国产精品99久久久久久老狼| 91精品国产综合久久精品| 丝袜诱惑制服诱惑色一区在线观看 | 日韩av高清在线观看| 欧美精品乱码久久久久久按摩| 一级女性全黄久久生活片免费| 色婷婷精品久久二区二区蜜臂av| 一区二区欧美国产| 制服丝袜中文字幕亚洲| 日韩黄色免费网站| 日韩精品一区二区三区三区免费| 精品在线亚洲视频| 国产日韩精品一区二区浪潮av| 大胆亚洲人体视频| 综合亚洲深深色噜噜狠狠网站| 色噜噜狠狠色综合欧洲selulu| 亚洲黄色片在线观看| 91久久一区二区| 日韩精品每日更新| 久久久亚洲精品石原莉奈| 懂色av中文一区二区三区| 国产精品福利在线播放| 色欧美片视频在线观看| 午夜精品久久久久久久久久| 日韩欧美在线综合网| 国产69精品一区二区亚洲孕妇| 中文字幕一区二区在线播放| 欧美调教femdomvk| 久久av中文字幕片| 国产精品国产三级国产普通话三级 | 日韩欧美亚洲一区二区| 国产精品中文欧美| 亚洲精选一二三| 日韩精品中午字幕| 成人免费毛片嘿嘿连载视频| 亚洲自拍偷拍欧美| 欧美一区二区性放荡片| 国产成人综合自拍| 亚洲成a人v欧美综合天堂| 久久综合九色综合欧美亚洲| 国产精品亚洲一区二区三区妖精 | 免费一级片91| 国产精品久久久99| 欧美一区国产二区| 国产91精品露脸国语对白| 亚洲一区在线看| 国产无一区二区| 欧美日韩国产中文| 丰满亚洲少妇av| 偷窥国产亚洲免费视频| 中文字幕精品一区二区三区精品| 欧美日韩在线亚洲一区蜜芽| 国产一区二区精品在线观看| 亚洲欧美一区二区三区孕妇| 日韩免费电影网站| 成人免费视频一区| 久久精品国产99久久6| 亚洲久本草在线中文字幕| 久久久综合视频| 欧美日本乱大交xxxxx| av亚洲精华国产精华精| 久久国产精品免费| 亚洲国产成人高清精品| 国产精品嫩草影院com| 日韩小视频在线观看专区|