Spreadfirefox Affiliate Button
Custom Search

Saturday, February 14, 2009

XAMPP

Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

At the moment there are four XAMPP versions:

* a version for Linux systems (tested for Ubuntu, SuSE, RedHat, Mandrake and Debian),
* a version for Windows 98, NT, 2000, 2003, XP and Vista,
* a beta version for Solaris SPARC (developed and tested under Solaris 8),
* and a beta version for Mac OS X.

Download

Installation

After downloading simply type in the following commands:

  1. Go to a Linux shell and login as the system administrator root:

    su

  2. Extract the downloaded archive file to /opt:

    tar xvfz xampp-linux-1.7.tar.gz -C /opt

    Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

    Warning 2: already installed XAMPP versions get overwritten by this command.

That's all. XAMPP is now installed below the /opt/lampp directory.

Start

To start XAMPP simply call this command:

/opt/lampp/lampp start

You should now see something like this on your screen:

Starting XAMPP 1.7...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.

Test

OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

http://localhost

Adopted from : http://www.apachefriends.org

No comments: