How to install Joomla on localhost?

Author:

Joomla is another excellent CMS for creating complex websites. we can install Joomla on the server or localhost. In this tutorial, we will learn how to install Joomla on localhost (XAMPP).

3 ways we are required to install Joomla on localhost?

  1. Windows 10 or Linux or Mac OS
  2. WAMP or XAMPP or LAMP server
  3. Joomla Software Package

How to install Joomla on Localhost

Step 1: Install Server on Localhost

Download the XAMPP server and WAMP server Install or to your system and install the server to your system. You can read our post on How to install XAMPP on Windows 10?

xampp-apache-versions-8
xampp-apache-versions-8

Step 2: Open phpMyAdmin from localhost

In this tutorial, we are using the XAMPP server and using the latest version for better use of Joomla.

For now, we are using xampp-windows-x64-8.1.6-0-VS16-installer, So after successfully installing Open the phpMyAdmin from your browser using the following URL:

localhost/phpmyadmin

phpmyadmin
PHPMyAdmin

Before opening this, you have to start the PHPMyAdmin server and apache server.

xampp-controll-panel-v3
xampp-controll-panel-v3

If you are getting an error then you can see our post: How to fix Apache not starting on XAMPP.

Step3: Create Database

create-database in phpmyadmin
create-database in PHPMyAdmin

This is an essential element in installing Joomla on localhost.

Let’s See: How to access the Template files in Joomla?

Remember the database name; we’ll need it in step 6.

Step4: Download Joomla

Now, we have to download the Joomla package from Joomla official site as the .zip or .tar.gz file.

Extract all .zip or .tar.gz file.

Step 5:  Exact Joomla files in the htdocs directory of XAMPP

Copy all the Joomla files in the htdocs root directory on XAMPP or WWW root directory WAMP and rename them as you want for example I have renamed it as joomla4.

Let See: How to change the default temp folder in Joomla 4?

Step6: Install Joomla

Now let’s time to install Joomla into localhost. Open in the browser address bar localhost/(yourjoomlafoldername). In our case, I renamed as Joomla4 so it will be as below

Localhost/joomla4

  • Enter the site name below the screen –
enter-site-name joomla4
enter-site-name joomla4
  • Enter the Joomla admin login detail –
joomla4-setup-login-data
joomla4-setup-login-data

Let See: How to update Joomla to latest version

  • Enter the database detail that you have created using phpMyAdmin from Step 3
database-configuration joomla
database-configuration Joomla

Select  database type as MySQLi,

The hostname is localhost

Username is root

The password is blank, I haven’t created any password for root.

  • click on Install Joomla to start the installation of Joomla.
installing joomla
installing Joomla
  • Now Joomla 4 installation has been completed
joomla-installation-complete
Joomla-installation-complete
  • Remove the Installation folder if you get noticed
  • Now you can access the admin panel
admin-login-page
admin-login-page
  • You can login using your username and password which you inserted in the above installation process
  • After Login you will get the default admin dashboard
admin-dashboard-joomla4
admin-dashboard-joomla4
  • Default Front-End view Joomla4