Skip to content
Follow
CMS Windows

Installing Joomla Locally with XAMPP on Windows 11

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

Installing Joomla locally on Windows 11 uses XAMPP, a free package that turns your PC into a web server.

Advertisement

XAMPP includes Apache, MariaDB, and PHP, which are needed to run websites like Joomla. This lets you build and test Joomla sites on your computer before putting them online.

Joomla is a popular content management system for making professional websites. With XAMPP installed, you can get a Joomla site up and running on your own machine.

⚡ 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.

Advertisement

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?

Your fully functional Joomla website runs on your machine after installation. You can access your Joomla website through your web browser to create content and manage your site settings.

Install XAMPP

XAMPP bundles all the necessary software for running a website locally into one easy-to-use package. If you have not yet installed XAMPP, follow the official XAMPP installation guides for Windows 11 to set up Apache, MySQL, and PHP.

Advertisement

Install XAMPP on Windows 11

Install XAMPP on Ubuntu 24.04

Create a Joomla Database

To create a Joomla database for your Joomla installation XAMPP Windows 11 setup, you need to use the XAMPP Control Panel and the built-in shell. Open the XAMPP Control Panel with admin privileges and click the Shell button to launch the command window where you can run the commands to set up your database and user account.

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

Advertisement
XAMPP shell button
XAMPP shell button

You will create a database named 'joomladb' and a user named 'joomladbuser' within phpMyAdmin, a tool for managing MySQL databases that comes with XAMPP version 8.2. Use the following commands to set them up.

mysql -u root

⚠️WarningCREATE 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
💡TipRemember 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.

Advertisement
Drupal folder for xampp database
Drupal folder for xampp database

Download Joomla Files

To download Joomla files and set them up for your Joomla installation XAMPP Windows 11 environment, you must grab the official installation package from the web. Go to your C:\xampp\htdocs folder, create a new folder named joomla, and extract all the downloaded archive contents directly inside that folder so your local server can read them.

  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.

Advertisement

Finalize the Setup

To finalize the setup for your Joomla installation XAMPP Windows 11 project, open your web browser and load the local installation page. Follow the on-screen prompts to enter your site name, create your administrator login details, and input the database name and user credentials you made earlier to complete the installation.

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!

Advertisement
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]









Was this guide helpful?

100% of readers found this helpful (1 votes)

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 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 *