Search The Site

How To Install Joomla Locally On Windows Using XAMPP

In the following article I will provide detailed instructions for setting up your workstation for Joomla! web development. An environment that supports Apache, MySql and PHP is ideal for working with Joomla code on your local computer.

The first step is to install XAMPP on your computer. If you have yet to install XAMPP, I have a detailed article on how to install xampp on windows for web development. I would suggest doing that now and then come back to this article when you have completed the XAMPP install.

Next, you will need to download the Joomla installation package. Save the Joomla package to your downloads directory. When finished downloading, unzip the package.

Next, navigate to C:\xampplite\htdocs and create a folder called mywebsite or any other name you wish to call it. Open up the Joomla package you unzipped and copy all the files into your C:\xampplite\htdocs\mywebsite directory. View the illustration diagram below for files you need to copy into your mywebsite directory.

joomla install files

Next, we need to create a database for our site using phpmyadmin. Launch your web browser and in the address bar type the following:

http://localhost/phpmyadmin

Next, type a database name in the Create new database box. I selected mywebsite. Next, click on Create as illustrated in the diagram below.

create a joomla database

Next, launch your web browser and type the following into the address bar:

http://localhost/mywebsite/

You should now be viewing the Joomla installation screen as illustrated in the diagram below.

joomla installation screen

Next, choose your preferred language and then click next. The install process will then do a pre installation check. After the preinstallation check click on next

On the next screen you will be asked to agree to the GNU General Public License. Read the provided license details and then click next.

The next screen is very important so be sure to get all the details correct. The username for the database should be root, there is no password. View the illustration below if you are not sure what to input in the fields provided. When finished click next

joomla database configuration

On the next screen you will be asked for FTP details. We are working locally so there is no need to configure this option. You can safely click Next.

Next, on the main configuration screen, type in your Site Name, your email address, and a password. Go here if you need help creating a secure password. Make sure to click on install sample data and when finished click Next.

joomla main configuration

Joomla is now installed on your local computer running with XAMPP. At this stage you have to remove the installation directory. Navigate to C:\xampplite\mywebsite\ and delete the installation folder as illustrated in the diagram below. After removing the installation folder click on Admin in the top right corner. Enter your password and you are done.

joomla install folder

That is all there is to it. Enjoy developing your web sites on your local computer. :)

Once you have finished building your web site on your local machine you will need to learn how to upload a local Joomla web site to a web server (remote host).