How to install and run Apache web and MySQL database servers using XAMPP如何安裝和運行Apache網絡和MySQL數據庫服務器使用XAMPP

Posted on November 5, 2008 at 5:48 am發布於2008年十一月五日在上午05時48分

Most beginning web developers are daunted by the thought of having to install and configure Apache web server, mySQL database server and even an FTP host.  Before XAMPP, you will need to run individual installers and having gone this path I can tell it wasn’t an easy task for a newbie.  If you don’t know yet what these programs are, please see my notes below:最開始的網頁開發者所嚇倒想到了安裝和配置Apache網絡服務器, MySQL數據庫服務器,甚至是FTP主機。 XAMPP之前,您將需要運行安裝商和個人擁有了這條道路上,我可以告訴它不是一項容易的任務為新手。如果你還不知道什麼這些程序,請參閱我的筆記如下:

  • Apache – open source web server software.  This basically allows you to use your computer as a web host.  If you have this on your computer you can run HTML, PHP, etc over http in your browser.阿帕奇-開源W eb服務器軟件。這基本上可以讓你使用計算機,網絡主機。如果你有這個在您的計算機上可以運行的H TML, P HP中,通過H TTP等在您的瀏覽器。
  • MySQL is a database server like Oracle and MS SQL 2000.  You can use it in conjunction with a scripting language like PHP to save and retrieve information MySQL是一個數據庫,服務器像Oracle和MS的SQL 2000 。您可以使用它與腳本語言一樣的PHP儲存和檢索信息

XAMPP is a package of these software.  You can get it from this URL: XAMPP是一個一攬子這些軟件。您可以從這個網址:

http://www.apachefriends.org/en/xampp.html

There are available downloadable packages for each major OS:有可下載的軟件包的各主要系統:

形象

Get the appropriate distribution for your OS.  Once downloaded, run it to install the software.  To start using the software, double click the file called xampp-control.exe:獲得適當的分配您的操作系統。一旦下載,運行安裝軟件。要開始使用該軟件,雙擊該文件要求xampp - control.exe :

形象

You should see a window similar to the one below:您應該會看到一個窗口一個類似如下:

形象

The button labels of each module (ie service) are either Start or Stop.  If you see “Start” it means the service is currently stopped.  In the example above, Apache is stopped since the button says “Start”.  Click on the “Start” buttons to start the Apache service.  Click the “Admin…” button to access the Admin page:按鈕標籤的每個模塊(即服務)或者啟動或停止。如果您看到“開始”這意味著服務目前已停止。在上面的例子中, Apache是停止,因為按鈕說: “開始。 ”點擊“啟動“按鈕啟動Apache的服務。點擊”管理... “按鈕訪問管理頁面:

形象

You should see your browser open pointing to the local XAMPP page:您應該看到您的瀏覽器打開指向當地XAMPP網頁:

形象

You can play with the links under the Demos to see some interesting applications.你可以發揮的聯繫下的演示可以看到一些有趣的應用程序。 Phonebook is one simple application that you can see actual database transactions:電話簿是一個簡單的應用程序,你可以看到實際的數據庫交易:

形象

The web pages are stored in the htdocs folder inside the XAMPP folder.  If you have a folder containing your HTML or PHP project, put them there.  To test if it works, open your browser and type in the URL like below:網頁都存儲在htdocs文件夾內的XAMPP文件夾。如果您有一個文件夾中包含HTML或PHP語言項目,使他們有。若要測試您的作品,打開瀏覽器並輸入網址一樣如下:

http://localhost/[foldername]/filename.htm http://localhost/ [文件夾] / filename.htm

Just replace foldername and filename.htm to the actual folder and filename that you have.只需更換文件夾和filename.htm的實際文件夾和文件名,你有。

I hope this little introduction to XAMPP gets some of you excited to try out more dynamic platforms like PHP.  Unlike ordinary HTML, PHP is more powerful and what you can do with it just depends on your imagination.  Who knows?我希望這個小介紹XAMPP得到一些你興奮的嘗試更具活力的平台,如PHP中。不同於普通的HTML , PHP是更強大,你可以用它做只是取決於您的想像力。誰知道呢? You might create your very own killer app!您可以創建您自己的殺手級應用!

Ben Carigtan writes about web sites, computers, technology and how to get the best out of them.本Carigtan寫的網站,計算機,技術和如何獲得最好的人。

Enjoyed this post?得到這個職位? Subscribe to Online Tech Tips via訂閱在線應用技巧通過 RSS Feed RSS供稿 or via或通過 Email電子郵件 and receive free daily productivity tips.並獲得免費日報的生產力秘訣。

» Filed Under »文章屬於 Cool Websites酷網站

添加到美味 Save this page 保存該網頁 它Mixx Stir it up on Mixx 它攪動了Mixx
Reddit Add to Reddit 添加到Reddit StumbleUpon公司 Stumble this page 失敗此頁

Related Posts 有關職位

Please post your comments/suggestions! 請張貼您的意見/建議!