How to Install Joomla on Windows 10
In this article
To install Joomla on Windows 10, you first need a local web server environment (like XAMPP or WampServer) because Joomla requires PHP and MySQL. This guide walks you through installing Joomla using XAMPP, which is the most common setup for Windows. You'll end up with a fully working Joomla site on your own PC, perfect for testing or development.
What You'll Need
- A Windows 10 PC with administrator access.
- XAMPP (free, includes Apache, PHP, and MySQL) – download from the official Apache Friends website.
- The Joomla package (a .zip or .tar.gz file) – download the latest version from the official Joomla.org site.
- A web browser (Chrome, Edge, Firefox, etc.).
Step-by-Step
- Install XAMPP – Run the downloaded XAMPP installer. Accept the defaults, but when asked for components, ensure Apache, MySQL, and PHP are selected (they are by default). Complete the installation.
- Start Apache and MySQL – Open the XAMPP Control Panel (search “XAMPP” in the Start menu). Click the “Start” button next to Apache and then next to MySQL. Both should turn green, indicating they are running.
- Create a folder for Joomla – Navigate to the XAMPP installation folder (usually
C:\xampp). Inside, open thehtdocsfolder. Create a new subfolder here, e.g.,joomla. This will be your site's root. - Extract Joomla files – Extract the downloaded Joomla package into that new folder. You can right-click the zip and choose “Extract All”, then specify the destination as
C:\xampp\htdocs\joomla. Ensure the extracted files are directly inside that folder (not in a nested subfolder). - Create a database – Open your browser and go to
http://localhost/phpmyadmin. Click “New” on the left sidebar. Enter a database name (e.g.,joomla_db) and choose “utf8_general_ci” as the collation. Click “Create”. - Run the Joomla installer – In your browser, go to
http://localhost/joomla. The Joomla installation wizard will appear. - Configure the site – On the first screen, enter a “Site Name” (e.g., “My Joomla Site”). Choose “Sample Data” if you want demo content, or “None” for a blank site. Set your admin username, password, and email. Click “Next”.
- Database settings – For “Database Type”, keep “MySQLi”. For “Host”, enter
localhost. For “Username”, enterroot. Leave the password field empty (default XAMPP). For “Database Name”, enter the name you created earlier (e.g.,joomla_db). Click “Next”. - Finish installation – The wizard will check prerequisites and then show a summary. Click “Install”. Once done, you'll see a success message. Important: Delete the
installationfolder fromC:\xampp\htdocs\joomla(you can do this via File Explorer). This is a security requirement. - Access your Joomla site – Go to
http://localhost/joomlato see your site's front end. To log into the admin panel, go tohttp://localhost/joomla/administratorand enter the admin username and password you set.
Common Mistakes
- Not starting MySQL – If the database connection fails, MySQL isn't running. Open XAMPP Control Panel and start MySQL.
- Files in a subfolder – If you extract the Joomla zip into
htdocs/joomlaand it creates another folder likejoomla/joomla, the installer won't run. Make sure theindex.phpand other files are directly in the folder you access. - Forgetting to delete the installation folder – Joomla will show a warning and may not function properly if you skip this. Always delete it after installation.
- Wrong database credentials – In XAMPP, the MySQL root user has no password by default. If you set one earlier, use that password. Never use a different username unless you created one.
Tips
- Use a dedicated folder – Instead of putting Joomla directly in
htdocs, use a subfolder likejoomlato keep things organized and avoid conflicts with other local sites. - Enable PHP extensions – The installer checks for required PHP extensions. If any are missing, open
php.iniinC:\xampp\phpand uncomment lines likeextension=mysqliandextension=openssl(remove the semicolon at the start). Restart Apache after changes. - Use sample data – If you're new to Joomla, install sample data to explore how the site works before building from scratch.
- Keep a backup – Before making major changes, copy the
htdocs/joomlafolder and export the database via phpMyAdmin to a SQL file.
Troubleshooting
If the installation doesn't go as planned, try these in order:
- Check that Apache and MySQL are running – Look at the XAMPP Control Panel. If Apache is red, click “Start”. If it fails, check if another program (like Skype) is using port 80. You can change Apache's port in
httpd.conf(search for “Listen 80” and change to 8080, then access viahttp://localhost:8080/joomla). - See the PHP error log – Open
C:\xampp\apache\logs\error.logfor details. Common issues include missing extensions or syntax errors in configuration. - Re-extract Joomla – If the installer shows a “Not found” or blank page, delete the Joomla folder and extract again, ensuring all files are present.
- Clear browser cache – Sometimes the browser caches an old page. Try a hard refresh (Ctrl+F5) or use an incognito window.
- Recreate the database – If you get a “database connection error”, go to phpMyAdmin, drop the database, and create a new one with the same name. Then re-run the installer.
- Check folder permissions – On Windows, permissions are usually fine, but if you see write errors, right-click the
joomlafolder, go to Properties > Security, and ensure “Users” have “Full control”.
Frequently Asked Questions
Do I need to install XAMPP first?
Yes, Joomla needs a web server, PHP, and MySQL. XAMPP bundles all three and is the easiest way to get them on Windows 10.
Can I use WampServer instead of XAMPP?
Yes, the steps are similar. The main difference is that WampServer's MySQL root user may have a password (often empty by default too). The database creation and Joomla installation steps remain the same.
Why do I get a “MySQL connection error” during installation?
Usually because MySQL isn't running, or you entered the wrong username/password. In XAMPP, the default is username root and an empty password.
Is it safe to delete the installation folder?
Yes, it's required. The folder contains setup scripts that could be exploited if left on a live server. Deleting it doesn't affect your site.
How do I access my Joomla admin panel?
After installation, go to http://localhost/joomla/administrator and log in with the admin username and password you set during installation.
Can I move this local Joomla site to a live server later?
Yes, but it requires moving files and exporting the database, then adjusting configuration.php. It's doable but can be tricky; consider using a Joomla migration extension or following a detailed guide.