How to install Joomla on XAMPP (Local Host)

Posted by Unknown on 7:13 PM with No comments
We've been very busy - watch a video showing you how to install Joomla 3 on XAMPP on JoomlaBuzz.com
Getting a basic Joomla website up and running on an XAMPP local host server (one that runs on your PC) isn's as hard as you might think - we're going to walk you through the main steps.
If you don't have it already, the first thing you'll need if you're going to install Joomla, is, well, Joomla - you can get the most up to date version here. You'll also need something to run Joomla on your PC – something like XAMPP is just fine (you can read a bit more in our guide to installing a local server).
We're assuming at this point that you've got XAMPP installed and there's a 'zip' file sitting on your desktop containing Joomla – something like 'Joomla_2.5.6-Stable-Full_Package.zip' – if not, you'd best get working.

Step 1: Getting XAMPP ready.

The first thing you'll need to do is turn on the bits of XAMPP that Joomla needs to run – you shouldn't need to do anything other than double click the icon on your desktop and click a couple of buttons – the 'Start' buttons next to Apache and MySql. If all is well, you should have a window in the corner of your desktop that looks like this:
:XAMPP control panel

Step 2: Unzip Joomla to the XAMPP folder.

Assuming you've installed XAMPP to the 'root' of your C: drive (how the installer tries to do it as default), you'll need to go to C:\xampp\htdocs\ and make yourself a new folder – the name you give this folder is going to be part of the website address for your local Joomla install, so no spaces please! We've gone for 'joomlademo' for our folder so we've now got a structure that looks like this: C:\xampp\htdocs\joomlademo\.
Head back to your desktop and you need to 'extract' the Joomla installation package into your new folder – if you're using a newish version of Windows, you should be able to right click the icon and select 'Extract all' from the menu – if not, you could buy something like Winzip to do the job. The extraction could take up to a few minutes, but you should now have a folder that looks like this:
Image of Joomla files unzipped into XAMPP folder

Step 3: Starting the Joomla installation.

We're now going to convert the big pile of files you've just extracted into a website – open your favoured browser and type the following into the address bar: http://localhost/*your-file-name*, changing the final part to whatever you called your file in step 2 – in our case it would be http://localhost/joomlademo. All being well, you should have the first step of the Joomla installation in front of you, like this:
Image of Joomla installation page
Just choose your language and click the 'Next' button in the top right corner. Joomla will now carry out a quick check of the server (XAMPP) that it's running on to make sure all is well – it should be, but if there are problems, we can't really address them all here, so have a Google or leave us a comment below. Assuming all is well you can click 'Next' again to take you to the Licence page and then click 'Next' once more to take you to the Database settings page.

Step 4: Setting up the database.

Not as terrifying as it sounds, there are just a couple of fields to fill in:
Username: Assuming you haven't been tinkering with XAMPP, this should be 'root' (without the quotation marks)
Database name: It's a good idea to make this the same as your installation folder, just so that it's easier to identify if you have a few sites further down the line.
Table prefix: Feel free to change this if required, but note that it must end in an 'underscore' and ideally be 3 or 4 characters long.
You should now have a screen that looks like this:
Joomla database configuration page
If you do, click 'Next' and Joomla will set up all of the database tables and structure that it needs – this may take a few seconds and when it's done, you'll see the 'FTP Configuration' page – again, just click 'Next'

Step 5: Final configuration.

All being well, you should now see this screen:
Final joomla installation page
The 'Site name' can be whatever you want – it's only really used in the administration pages of the site and you can change it later. You'll need to enter an email address (preferably real, but not too important at this stage as it's easily changed later), a username and password. A word about the 'Admin Username' – it's advisable to use something other than 'Admin' for this as a small security measure, if someone is trying to hack your website in the future, it gives them one more thing to work out.
Finally, if this is your first Joomla install, include the sample data to help you find your way around – select the 'Blog' version and click the 'Install sample data' button, before you go any further. When you're done, click 'Next' in the top corner.

Step 6: Stand back and admire your work.

Actually, one final thing before you do – you should now be on the 'Finish' page – just beneath the red writing there is a button labelled 'Remove installation folder' – click this.
Now you can stand back and admire your work – if you go to the top right of the page and click the 'Site' button, you should see this:
Homepage of a new Joomla installation
If you want to log in to your admin pages, just put /administrator at the end of the address like http://localhost/joomlademo/administrator and log in with the username and password you set up in Step 5.
And that's it, your very own Joomla powered website, running on your PC – do let us know how you got on using the comments below.