Skip to content
Follow
Windows

How to Install Joomla on Your Windows 11 Computer Using XAMPP

Richard
Written by
Richard
Jan 31, 2026 Updated Sep 15, 2026 5 min read
How to Install Joomla on Your Windows 11 Computer Using XAMPP
How to Install Joomla on Your Windows 11 Computer Using XAMPP

Joomla on Windows 11 runs locally by using XAMPP to turn your PC into a web server without a live host. Joomla is free website software that lets you build pages offline, and XAMPP provides the backend tools like PHP and a database to make it run.

Advertisement

Testing sites on your own machine saves money and time before you launch them online. You need a Windows 11 PC, the XAMPP installer, and the Joomla installation files to get everything set up in a few simple steps.

⚡ Quick Answer

Install Joomla on Windows 11 by first installing and starting XAMPP. Then, create a Joomla database using XAMPP’s tools, download Joomla files to `C:xampphtdocsjoomla`, and modify `htdocsindex.php` to redirect to your Joomla folder. Finally, navigate to `http://localhost/` to complete the Joomla installation in your browser.

Advertisement

What is XAMPP?

XAMPP is a free software package that turns your Windows 11 computer into a local web server so you can test websites offline. It includes Apache for showing web pages, MariaDB for storing site data, and PHP to run applications like Joomla without needing an internet connection.

  • Apache (the web server that shows your site)
  • MariaDB (a database to store your site’s information)
  • PHP (a language that helps Joomla work)

You can use XAMPP to try out Joomla and other website tools on your PC before making your site live on the internet.

Step 1Install XAMPP

If you haven’t installed XAMPP yet, follow this easy tutorial here:

How to Install XAMPP on Windows 11

Advertisement

Once installed, open the XAMPP Control Panel to start working with your local web server.

Step 2Create a Database for Joomla

You need to create a blank database using phpMyAdmin or the command line before you install Joomla on XAMPP. Open the XAMPP Control Panel, start the MySQL service, open phpMyAdmin in your web server browser, and create a new database specifically for your Joomla files.

Here's how to do it using XAMPP's built-in tools:

  1. Open the XAMPP Control Panel.
  2. Click the Shell button to open a command window.
    XAMPP Shell Button
    XAMPP Shell Button
  3. Type this command and press Enter to log into the database system:

    mysql -u root
  4. Now type these commands one by one (press Enter after each):

    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

    Replace your_password_here with a password you create.

Can't use the command line? No problem! You can also create the database and user using phpMyAdmin:

Advertisement
  1. In the XAMPP Control Panel, next to MySQL, click the Admin button.
  2. In phpMyAdmin, click Databases, enter joomladb as the database name, and click Create.
  3. Go to the Users tab, add a new user called joomladbuser with your chosen password, and give it all privileges on the joomladb database.

Step 3Download Joomla

Download the latest installation package directly from the official Joomla website to set up Joomla on your Windows 11 computer using XAMPP. Save the zip folder, extract the files, and place them inside the C:\xampp\htdocs directory so your local server can read them.

  1. Go to the official Joomla download page: https://downloads.joomla.org/
  2. Download the latest Joomla zip file.
  3. Open C:\xampp\htdocs on your computer.
  4. Create a new folder here named joomla.
  5. Extract all the Joomla files you downloaded into this joomla folder.
📝Good to KnowYour folder structure should look like C:\xampp\htdocs\joomla with Joomla files inside.
Joomla files in XAMPP folder
Joomla files in XAMPP folder

Step 4Make Joomla Show as Your Homepage

You can make your new site open automatically when you visit http://localhost on your Windows 11 computer by editing the default index files in your XAMPP folder. Rename or replace the standard start page inside C:\xampp\htdocs so your browser loads the Joomla installer right away.

Advertisement

To do this, edit the file C:\xampp\htdocs\index.php (or index.html) and replace its content with this code:

⚠️Warning

<?php
if (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/joomla/');
exit;
?>
Something is wrong with the XAMPP installation :-(

  1. Save the file.
  2. Restart Apache in the XAMPP Control Panel by clicking Stop and then Start.

Step 5Open Joomla in Your Browser

You finish the setup by opening http://localhost in your web browser on Windows 11 to launch the on-screen Joomla installation wizard. Follow the prompts to choose your language, connect the database you made earlier, and create your administrator login details.

http://localhost/

Advertisement

You should see the Joomla installation page.

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

Follow the steps on screen:

  1. Choose your language and enter your website's name.
  2. Click Next.
  3. Set up your admin account by entering your name, username, password, and email.
  4. Click Next.
  5. On the database page, enter:
    • Database Type: MySQLi
    • Host: localhost
    • Username: joomladbuser
    • Password: the password you created earlier
    • Database Name: joomladb
  6. Click Install Joomla.
Joomla database setup
Joomla database setup

Advertisement

Once installation is complete, you will see a success message.

Joomla setup complete
Joomla setup complete

Congratulations! Your Joomla website is now ready to use on your Windows 11 computer.

Summary

  • XAMPP lets you run Joomla on your PC without needing the internet.
  • You created a database for Joomla using either the command line or phpMyAdmin.
  • You downloaded Joomla and placed it in the right folder inside XAMPP.
  • You changed the homepage to open Joomla by default.
  • You completed the Joomla setup by following the installation wizard in your browser.

Running Joomla on your Windows 11 computer using XAMPP gives you a complete offline environment for building and testing websites. You now have a working local server, a dedicated database, and the core Joomla files ready for your web development projects.

Advertisement

Is XAMPP compatible with 🪟 Windows 11?

XAMPP is the most popular PHP development environment for Windows, OSX, and Linux platforms. It is a completely free and easy-to-install Apache distribution containing my SQL, PHP, and Perl. So, in this article, I'll show you how to install the XAMPP server on Windows 10/11.

How to run a Joomla website 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.

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.

Advertisement

📚 Related Tutorials

Windows 11: Shell Folder Command Shortcuts
Windows Windows 11: Shell Folder Command Shortcuts
How to Change Screenshot Location in Windows 11
Windows How to Change Screenshot Location in Windows 11
How to Change On-Screen Indicator Position in Windows 11
Windows How to Change On-Screen Indicator Position in Windows 11
How to Start or Stop Windows Automatic Maintenance
Windows How to Start or Stop Windows Automatic Maintenance

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

Leave a Comment

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