How to Install Magento on Localhost Like XAMPP How to Install Magento on Localhost Like XAMPP

This step-by-step tutorial will help you install Magento quickly and easily on localhost.

When you install XAMPP – make sure to install “phpmyadmin”. Once you have XAMPP installed and running, follow these steps:


    1. Download Magento CE from here (recommended .zip file for Windows)

    1. Extract contents of into this folder:


As a result you should have a new folder called “magento”:


    1. Now open this URL in your browser:


You should see Magento installation page:

Magento installation

Agree with terms and click “Continue”

    1. On “Localization” page select preferred options and click “Continue”
    2. On “Database Connection” page you must specify credentials to an existing database. You have to create it manually. This can be done from phpmyadmin (which should be installed along with XAMPP)

Keep the tab in your browser with Magento installation open. Open a new tab and enter this URL:


You should see phpmyadmin dashboard. In the top menu click “Databases”, then type some database name (say magentodb) and click “Create”

Magento installation

    1. Return to Magento installation tab. Enter the newly created database name, username “root” into database user field and I’d recommend you to enable “Use Web Server (Apache) Rewrites” checkbox. You may leave all other fields as they are and click “Continue”.

Magento installation

    1. On the last step you have to enter your name, email and specify what username and password you would like to be used to log into your store backend (administration panel)

Magento installation


    1. That’s it! Now you should be able to see your Magento store front by this URL


and log into backend using this URL


Hope you find this tutorial helpful. If you have got any questions, you can ask in comments or in this topic of official Magento forum –



No comments so far.

Be first to leave comment below.

Your email address will not be published. Required fields are marked *