How to install OpenCart

The first step to starting your online shop with OpenCart is installing OpenCart script on your hosting account. In this tutorial, we will show you how to manually install OpenCart.

1. Downloading Opencart

You will need to download the latest version of OpenCart from the OpenCart website. (

After you download and unzip engine package you should get following files structure:

  • Folder : upload
  • Files : install.txt, license.txt, upgrade.txt …

The “upload” folder contains all the files needed to upload OpenCart to a web server.

2. Uploading Opencart

You need a webserver to host your OpenCart store. Create a MySQL database and assign a user to it. Write this information down so you can refer to it during the installation process below.

We recommend using Filezilla as your FTP client. Filezilla is a free FTP client that will transfer the OpenCart files to any web server specified. The FileZilla client (not the server) can be downloaded from and installed onto a computer.

What you need to do is upload the contents of the “upload” folder to your webserver.

The important thing here is to place the contents of the “upload” folder into the folder on your webserver that will correspond to the web address you want for your store. So, assuming a Linux server, if you copy the files to the root folder “public_html/” then the subsequent web address of your store will be “”. If you copy the files to “public_html/store” (where you have created the sub-folder named “store”) then the web address of the store will become “http://www.yourdomain/store”. Make sense?

3. Installing OpenCart

We are now ready to install OpenCart directly onto a website. You should open up a web browser and enter in the web address of where they uploaded OpenCart. You should be automatically greeted by the following page:

This page is the installation page. The following steps will help you complete the installation process for OpenCart.

Step 1. License

You may read through the license, check “I agree to the license”, and press “Continue”.

opencart step 1

Step 2. Pre-Installation

This step checks to see if the web server has the technical requirements and correct permissions to setup OpenCart properly. If red marks are visible on #1 or #2, you need to make sure that these components are properly installed onto the web server. You should contact your hosting service if there are any issues with this. If there are red marks on #3 or #4, there might have been an issue with uploading the files using the FTP client. If everything is configured correctly and green marks are visible (as seen below), you may press “Continue”.


As of version 1.5.5, the following files need to be renamed to continue to Step 3:

  • config-dist.php to config.php
  • admin/config-dist.php to config.php

Step 3. Configuration

You need to fill in the spaces below #1 by adding the database connection details (username/password, database name) established when you created the store’s database using MySQL Databases. Under #2, you should create a new username and password for administration access to the OpenCart shop. When finished, you may press “Continue”.

opencart step 3

Step 4. Finished

Now that installation is complete, the “install” folder is no longer required. You should delete the “install” folder in the Remote Site section of Filezilla for security reasons. You now have the option to browse the frontend of your shop or choose to log into the administration side.

opencart step 4

1 thought on “How to install OpenCart”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.