How to Install OpenCart using XAMPP

How to install Opencart in XAMPP

OpenCart is an open source ecommerce web application built using PHP and MySql. It has a very easy to use interface and you will just love selling your goods online. In this tutorial we will learn how to install OpenCart on XAMPP.

    1. Install XAMPP

XAMPP is a web server required to run your server side code of OpenCart. In order to install XAMPP, click here and download the latest version as per your operating system.  After you download run the program and your XAMPP setup will start.  Keep everything as default.

    1. Download the Latest Version of OpenCart

Click here to download the latest version and once its downloaded unzip the zipped folder.

Download Opencart Latest

    1. Go to the directory where you have installed XAMPP, then go to xampp ->htdocs and create a folder where you want to install your OpenCart. Here we have created a folder named Shop.
    2. Open the unzipped OpenCart folder and then the upload folder, copy all the contents to the new folder which you have created.

Opencart Folder

    1. Rename OpenCart config files

In your shop folder, rename config.dist and admin/config-dist file to config.

    1. Open XAMPP and start MySQL and Apache

Opencart XAMPP Module Service

    1. Go to localhost and then click on phpMyAdmin. Here click on New, provide a database name and click on Create

Opencart Database

    1. Now go to localhost/shop in your browser and you can see the installation wizard.

Opencart License Agreement

Click Continue

    1. After clicking Continue twice, you will be given a form to fill up the settings.

Opencart Database Form

    1. You need to give two unique username and passwords, one for the database and another for OpenCart admin login. Also provide the database name that we have created.

Click Continue .

Voila! You have installed your own ecommerce.

Opencart Installation

Opencart Ecommerce Store

You may also like:
4 Must-have extensions for launching your Opencart store
Opencart 2.3.0.2 is here now!
Default B2B eCommerce features of Opencart
15 Amazing OpenCart Web Stores to Watch

Soumitra Chakraborty

I am a technical consultant cum technical blogger.

  • Appreciate your explanation!
    Great job man!

Transform Your Business

APPSeCONNECT can help you accelerate your path to success by seamlessly integrating your applications

Get a 30-Day FREE Trial

x x