20.11.09

How to install and run Apache web and MySQL database servers using XAMPP.

Joomla requires a PHP webserver and MySQL like the one package in Xampp.
Mos 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 - open source web server software. This basically allow 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.
  • MySQL is a database server like Oracle and MS SQL 2000. You can use it in conjuction with a scripting language like PHP to save and retrive information.
XAMPP is package of these software, you can get it from this URL : http://www.apachefriens.org/en/xampp.html



There are available download pakacges 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 :




You should see a window similar to the one below :



The button labels of each module (i.g. service) are either Start or Stop. If you see "Start" it means the service is curently stopped. In the example above. Apache is stop since the button says "start". Click on the "Start" button to start the Apache service. Click the "Admin..." button to access the Admin page :




You should see your browser open pointing to the local XAMPP page :



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 Joomla 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 work, open your browser and type in the URL like below : http://localhost/[foldername]/filename.htm.

Just replace foldername and filename.htm to  the actual folder and filename that you have.

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 ? You might create your very own killer app!

Original source : http://online-tech-tips.com/


1 comment:

  1. CMS solution offers a best solution for the common application integrations in the easier way. Availing cms could really run the works in a smooth and fast manner. Thanks for the informative review and keep on posting.CMS Solutions

    ReplyDelete