How to install and run Apache web and MySQL database servers using XAMPP Como instalar e executar o Apache Web e servidores de banco de dados MySQL usando o XAMPP

Posted on November 5, 2008 at 5:48 am Postado em 5 de novembro de 2008 às 5:48 am

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: A maioria dos desenvolvedores web estão começando assustados pelo pensamento de ter que instalar e configurar o servidor web Apache, banco de dados mySQL, e mesmo um host FTP. XAMPP Antes, você precisará executar instaladores individuais e de ter ido esse caminho eu posso dizer que não foi uma tarefa fácil para um newbie. Se você não sabe ainda o que são esses programas, veja minhas notas abaixo:

  • 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. Apache - servidor web open source software. Este fundo permite que você use seu computador como um host. Se você tem este no seu computador você pode executar o HTML, PHP, etc durante http em seu navegador.
  • 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 O MySQL é um banco de dados como Oracle e MS SQL 2000. Você pode usá-lo em conjunto com uma linguagem de scripting como PHP para salvar e recuperar informações

XAMPP is a package of these software.  You can get it from this URL: XAMPP é um pacote de software destes. Pode obtê-lo a partir deste URL:

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

There are available downloadable packages for each major OS: Lá estão disponíveis para download pacotes para cada uma das principais SO:

imagem

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: Get a distribuição apropriada para seu sistema operacional. Depois que descarregados, execute-o para instalar o software. Para começar a usar o software, duplo clique no arquivo chamado XAMPP-control.exe:

imagem

You should see a window similar to the one below: Você deverá ver uma janela semelhante à mostrada abaixo:

imagem

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: O botão rótulos de cada módulo (ou seja, serviços) são quer iniciar ou parar. Se você ver "Iniciar" isso significa que o serviço está parado. No exemplo acima, o Apache está parado desde o diz botão "Iniciar". Clique no botão " Iniciar "botões para iniciar o serviço Apache. Clique no botão" Admin ... "botão para aceder à página Admin:

imagem

You should see your browser open pointing to the local XAMPP page: Você deverá ver o seu navegador iniciar a apontar para o local XAMPP página:

imagem

You can play with the links under the Demos to see some interesting applications. Você pode jogar com os links para ver sob a Demos algumas aplicações interessantes. Phonebook is one simple application that you can see actual database transactions: Agenda é uma aplicação simples que você pode ver operações reais de dados:

imagem

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: As páginas web são armazenados na htdocs pasta dentro do pasta XAMPP. Se você tem uma pasta contendo o seu HTML ou PHP projeto, coloque-os lá. Para testar se funciona, abra seu navegador e digite a URL como a seguir:

http://localhost/[foldername]/filename.htm http://localhost/ [nomedapasta] / filename.htm

Just replace foldername and filename.htm to the actual folder and filename that you have. Basta substituir nomedapasta filename.htm e com a própria pasta eo nome do arquivo que você tiver.

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? Espero que esta pequena introdução a alguns de vós XAMPP fica animado para experimentar o mais dinâmico plataformas como PHP. Diferentemente ordinário HTML, PHP e é mais poderoso que você pode fazer com ela só depende de sua imaginação. Quem sabe? You might create your very own killer app! Você pode criar o seu próprio assassino app!

Ben Carigtan writes about web sites, computers, technology and how to get the best out of them. Ben Carigtan escreve sobre sites da Internet, computadores, tecnologia e sobre como obter o melhor das mesmas.

Enjoyed this post? Gozavam este cargo? Subscribe to Online Tech Tips via Inscrever-se online através Tech Dicas RSS Feed Feeds RSS or via ou através de Email E-mail and receive free daily productivity tips. receber gratuitamente quotidiano produtividade e dicas.

» Filed Under »Arquivado Sob Cool Websites Cool Websites

Adicionar ao Delicious Save this page Guardar esta página Mixx-la Stir it up on Mixx Mexer tudo sobre Mixx
Reddit Add to Reddit Adicionar ao Reddit StumbleUpon Stumble this page Stumble esta página

Related Posts Posts Relacionados

Please post your comments/suggestions! Favor enviar seus comentários e sugestões!