Skip to content
Follow
CMS Windows

Installing Joomla Locally with XAMPP on Windows 11

Richard
Written by
Richard
Mar 4, 2025 Updated Jun 19, 2026 3 min read
Installing Joomla Locally with XAMPP on Windows 11
Installing Joomla Locally with XAMPP on Windows 11

You install Joomla locally on Windows 11 by using XAMPP, a free, all-in-one package that transforms your PC into a web server.

XAMPP bundles Apache, MariaDB, and PHP, essential components for running dynamic websites like Joomla. This setup allows you to develop and test Joomla sites offline before deploying them.

Joomla is a powerful, open-source content management system (CMS) used for creating professional websites and complex online applications.

⚡ Quick Answer

Install XAMPP, then create a database named ‘joomladb’ using its shell or phpMyAdmin. Download Joomla files into the C:xampphtdocsjoomla folder and configure the redirect in C:xampphtdocsindex.html. Finally, run http://localhost/joomla in your browser and follow the Joomla installation wizard.

Why run Joomla locally?

Running Joomla on your computer lets you build and test your website privately. You can experiment with designs and features before you ever go live on the internet.

What happens when you are done?

Once finished, you will have a fully functional Joomla website running on your machine. You can access it through your web browser to create content and manage your site settings.

Install XAMPP

XAMPP bundles all the necessary software into one package. If you haven’t installed it yet, follow these guides:

Install XAMPP on Windows 11

Install XAMPP on Ubuntu 24.04

Create a Joomla Database

Your Joomla site needs a place to store all its information, and creating this database with XAMPP on Windows 11 is easy. You’ll set up a database named ‘joomladb’ and a user called ‘joomladbuser’ using simple commands in the XAMPP shell.

Open the XAMPP Control Panel and click the ‘Shell’ button to open the command window. (Requires admin privileges)

XAMPP shell button
XAMPP shell button

We will create a database named ‘joomladb’ and a user named ‘joomladbuser’. Use the following commands:

mysql -u root

CREATE DATABASE joomladb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;CREATE USER joomladbuser@localhost IDENTIFIED BY 'your_password_here';GRANT ALL ON joomladb.* TO joomladbuser@localhost;FLUSH PRIVILEGES;exit

Remember to replace ‘your_password_here’ with your own secure password. If you prefer not to use the command line, you can click the ‘Admin’ button next to MySQL in the XAMPP Control Panel to use the phpMyAdmin web interface instead.

Drupal folder for xampp database
Drupal folder for xampp database

Download Joomla Files

Next, grab the Joomla files and put them where your web server can find them. Go to the 📁C:\xampp\htdocs folder on your computer and make a new folder called ‘joomla’. Then, download the Joomla files and extract them right into this new ‘joomla’ folder.

  1. Navigate to C:\xampp\htdocs on your computer.
  2. Create a new folder named joomla.
Drupal folder for xampp
Drupal folder for xampp

Download the Joomla files from official download page and extract them directly into your new C:\xampp\htdocs\joomla folder.

Next, open the C:\xampp\htdocs\index.html file in a text editor to update your redirect settings. Replace the contents with the following code so your browser opens your site automatically:

🐘PHP
<?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/joomla/'); exit;?>

Save the file. Go back to the XAMPP Control Panel and stop and start the Apache server to apply these changes.

Finalize the Setup

Finishing your Joomla installation on Windows 11 with XAMPP is done right in your web browser. You’ll set up your site’s name, your admin login details, and then enter the database information you created earlier: ‘joomladb’ for the name, ‘joomladbuser’ for the username, and your password.

Joomla select installation language and site name
Joomla select installation language and site name

Follow the on-screen instructions to set your site name, admin username, and password.

Joomla set up account details
Joomla set up account details

When asked for database details, enter the database name (joomladb), the username (joomladbuser), and the password you created earlier. Click “Install Joomla” to finish.

Configuring Joomla database connection settings within the XAMPP local environment
Configuring Joomla database connection settings within the XAMPP local environment

Your site is now ready to use!

Joomla setup complete
Joomla setup complete

Summary

You’ve successfully set up Joomla locally on Windows 11 using XAMPP by creating a database, adding files, and running the installer.

[joomla]

[C:xampphtdocsjoomla]









How to install Joomla on localhost?

Provide the necessary. Information such as the database. Type host name username. And password in our case we use the default information for our database.

Do I need to install PHP if I have XAMPP?

To run any PHP program, you will need Apache or MYSQL databases, both supported by XAMPP. XAMPP helps you to run your program smoothly.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Install Joomla on Your Windows 11 Computer Using XAMPP
Windows How to Install Joomla on Your Windows 11 Computer Using XAMPP
How to Install XAMPP on Windows 11
Windows How to Install XAMPP on Windows 11
How to Install Windows Subsystem for Linux (WSL) on Windows 11
Ubuntu Linux How to Install Windows Subsystem for Linux (WSL) on Windows 11
Set Up WordPress Locally Using XAMPP on Windows 11
CMS Set Up WordPress Locally Using XAMPP on Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *