TechBuzzPro

How to Install Joomla on Windows 10

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

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

  1. 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.
  2. 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.
  3. Create a folder for Joomla – Navigate to the XAMPP installation folder (usually C:\xampp). Inside, open the htdocs folder. Create a new subfolder here, e.g., joomla. This will be your site's root.
  4. 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).
  5. 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”.
  6. Run the Joomla installer – In your browser, go to http://localhost/joomla. The Joomla installation wizard will appear.
  7. 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”.
  8. Database settings – For “Database Type”, keep “MySQLi”. For “Host”, enter localhost. For “Username”, enter root. Leave the password field empty (default XAMPP). For “Database Name”, enter the name you created earlier (e.g., joomla_db). Click “Next”.
  9. 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 installation folder from C:\xampp\htdocs\joomla (you can do this via File Explorer). This is a security requirement.
  10. Access your Joomla site – Go to http://localhost/joomla to see your site's front end. To log into the admin panel, go to http://localhost/joomla/administrator and 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/joomla and it creates another folder like joomla/joomla, the installer won't run. Make sure the index.php and 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 like joomla to 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.ini in C:\xampp\php and uncomment lines like extension=mysqli and extension=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/joomla folder and export the database via phpMyAdmin to a SQL file.

Troubleshooting

If the installation doesn't go as planned, try these in order:

  1. 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 via http://localhost:8080/joomla).
  2. See the PHP error log – Open C:\xampp\apache\logs\error.log for details. Common issues include missing extensions or syntax errors in configuration.
  3. 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.
  4. Clear browser cache – Sometimes the browser caches an old page. Try a hard refresh (Ctrl+F5) or use an incognito window.
  5. 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.
  6. Check folder permissions – On Windows, permissions are usually fine, but if you see write errors, right-click the joomla folder, 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.