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?
- Windows 10 or Linux or Mac OS
- WAMP or XAMPP or LAMP server
- Joomla Software Package
How to install Joomla on Localhost
Step 1: Install Server on Localhost
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:
Before opening this, you have to start the PHPMyAdmin server and apache server.
If you are getting an error then you can see our post: How to fix Apache not starting on XAMPP.
Step3: Create Database
This is an essential element in installing Joomla on localhost.
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 htdocs root directory on XAMPP or WWW root directory WAMP and rename them as you want for example I have renamed it as joomla4.
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 as below
- Enter the site name as below screen –
- Enter the Joomla admin login detail –
- Enter the database detail that you have created using phpMyAdmin from step 3
Select database type as MySQLi,
Host name is localhost
Username is root
Password is blank, I haven’t created any password for root.
- click on Install Joomla to start the installation of Joomla.
- Now Joomla 4 installation has been completed
- Remove the Installation folder if you get noticed
- Now you can access the admin panel
- 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
- Default Front-End view Joomla4