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! 请张贴您的意见/建议!