MERRY Christmas

20% DISCOUNT

Blog

Your go-to resource for Joomla knowledge, tutorial, information and latest news in Joomla world

How to install Joomla 4 on localhost?

cove_20190402-044709_1

Till now, Joomla 4.0 has been introduced to Joomla community throughout the Alpha version. The version provides users experimental condition to explore all the new features in Joomla 4 as well as the mean to report any problems before releasing the final version.

Although the Alpha version is not ready for developing a complete product, you can try this new version at the moment by installing through localhost. This article will provide you the fully simplified installation process.

How to install Joomla 4

1. Technical Requirements

1.1 PHP

You need to download PHP 7+ in your server. If you want to know how to download and read more information about PHP, please follow these installation instructions.

1.2 MySQL

Make sure to install MySQL 5.5.3 and you could follow these installation instructions.

1.3. Web server

You can use one of these server environments such as XAMPP, MAMP, WAMP, JAMP in your local computer which will help you set up quicker than individual installations.

2. Prepare For Install

In order to demonstrate the instructions, we use XAMPP as the localhost.

2.1 Install and Configure Web Servers

1. Download XAMPP

Once you installed XAMPP, then go to http://localhost for checking. If you see the start page of XAMPP like this image, then congrats! You installed XAMPP successfully2. Configure the web server

To run the software, you need to start Apache and MySQL.

2.2 Download and Upload Joomla! Package Files

You could download the latest Joomla 4 version on the link right below and follow our instruction to install.

(Remember to download full package then unpack the file to a folder on your local disk.)

Download Joomla 4 Alpha 8

2.3 Upload the installed files of Joomla 4 in “htdocs” folder

If you are using Windows, this folder could be located at C:\XAMPP\htdocs\ and If you are using a Mac, this folder could be located at /Applications/XAMPP.

Then, create a new folder in “htdocs” folder, for example, a new folder called “Joomla4” then you put in the Joomla 4 installation unzipped file.

2.4 Create Database for Joomla! Installation

Because PHPMyAdmin is included in XAMPP, so if you want to run PHPMyAdmin, You could go to the link http://localhost/phpmyadmin/ in your web browser to run localhost.

  1. Click on “New” to create a new database.
  2. Enter the name of the database name. For example “Joomla4Aplha8”
  3. Choose the type of database: utf8_general_ci.

3. Install Joomla 4

Step 1: Enter the following link to your browser

http://localhost/name_of_your_root_folder to enter the installation process (the folder name in section 2.3)

For example, you named your root folder is “Joomla4”; thus the link will be: http://localhost/Joomla4. Then the setting screen will appear.

Step 2: Enter the language and site name+ Select Language: choose the language you want. You can set more language options after finishing setting up in “Customize Installation”.

+ Site Name: you have to add your site name, for example Joomla 4 Alpha 8

+ Click “Setup Login Data” to continue.

Step 3: Setup User Data

+ Set the Username: enter your username, example: admin

+ Set the Password: enter your password, example: 123456

+ Enter the Email Address: enter your email, example: This email address is being protected from spambots. You need JavaScript enabled to view it.

Step 4: Data Configuration

+ Database Type: Select MySQLi. (You should select MySQLi since that’s the database type used mostly on web servers)

+ Host Name: Enter “localhost”.

+ Username: Enter “root”.

+ Password: Leave it blank if it is the default ( or enter the password that you set before )

+ Database Name: Enter the name of the database you created in section 2.4. For example: “Joomla4Alpha8”.

+ Table Prefix: It is generated automatically by default. However, you can change its value.

Then click on “Install Joomla” to continue.

Step 5: Finalize & Customize Installation

1. Finalize

When you finished the setting process, it will have a summary of all detailed settings that you did before. You could check all the detailed information and correct it if it is wrong, then click on “Install Joomla” to finish.

2. Customize Installation

After successfully installing Joomla 4, you can continue to customize your Joomla site in terms of language (for a multi-language site) and sample data by clicking “Customize Installation” button.

You could select the language for your website.

Or you can install simple data your website. If you don’t want to install, click on “Skip” to continue.

Final Look

When you have done the Customize Installation, you are ready to open the front-end and back-end of the website. NOTE: You must delete the installation folder before bringing your site to the live mode. Here, you just check “Check if you wish to delete the installation folder on completion”, then Joomla! Installer should delete the folder for you.

From there, you can either click on “Open Site” to open the front-end site

Or click on “Open Admin” to open the back-end site.

Congratulation! You have installed Joomla 4 successfully. Login to your admin by using your Superuser account you have set up before.

Note: If you want to install Joomla 4 in Ubuntu, please refer to this guide

Experience Demo Joomla 4 website

If you are not sure about installing Joomla 4 in your localhost, you can try out our demo website to have the most realistic experiences about Joomla 4. This website has all new features in Joomla 4. Maybe after that, you will find out your decision.

View Joomla 4 demo

Conclusion

It cannot be denied that the Installation process of Joomla 4 is much easier and faster than Joomla 3.x. The UI also has been improved significantly. One-Page Installation comes in handy when you could review all the configurations in one page. With all the update and development to comes, Joomla 4 installation process could even become so much better.

I hope this guide is helpful for you! Thanks for your time!

This article is on the Joomla 4 series, keep in touch with us for more useful guides and the latest news about Joomla 4.

JSN Festival - Innovative way to promote your even...
New update: JSN PageBuilder 3 - v1.4.10 and many m...
 

Comments (1)

This comment was minimized by the moderator on the site

Instalation Fail
On my localhost (xampp for Windows 7.2.13) i have always installed joomla just like mentioned in this article, so there is nothing new to me. I've also made sure that I follow the steps as mentioned here for the installation of...

Instalation Fail
On my localhost (xampp for Windows 7.2.13) i have always installed joomla just like mentioned in this article, so there is nothing new to me. I've also made sure that I follow the steps as mentioned here for the installation of Joomla-4 (alpha8)
However, here I had no joy installing it.
1) the istallation after the last step, did not finished (meaning problems in setting up the db and configuration). After more than 5 minutes I clicked a refresh on the page and it finally said "Congratulations ..." BUT with an error-message on the top.
2) Opening frontend and backend both have the same error messages:
"E rror: Table 'j19_4-8alpha.ij7g7_viewlevels' doesn't exist: Table 'j19_4-8alpha.ij7g7_viewlevels' doesn't exist".

I could ask "why" (I can figure that out myself) but I prefer to to say to the joomla-developers:
Don't publish joomla-4 if it doesn't work. Keep the alpha-versions to yourself - Who needs this.

Read More
There are no comments posted here yet

Getting Started Series

Step-by-step guide to build quality website with JSN Template

Learn More

Related Posts