Opencart 2.0 Installation guide

If you want to start online business and you need an easy and full-featured popular web shop, OpenCart is a great choice. In short, OpenCart is a unique open source system that allows you to participate in e-Commerce business and ensures smooth business performance. In addition, Opencart 2.0 has been released with a lot of great new features and improvements, check out the most exited new features of Opencart 2.0 →

If you have no experience yet with the platform, this beginner’s series will help you. This series will show how to install and open an OpenCart web shop in minutes.

Let’s Get Started!

After the tutorial, you will become friends with OpenCart. In detail, you know:

  • OpenCart is popular and ease to use.
  • You want to crank up a web shop right now.

OpenCart will run on most shared hosting that have PHP 5.2+, MySQL database, cURL (a server extension), 100-300MB of free space (depending on the number of products and images) and mod_rewrite (Apache server module). Please always ask your hosting provider if they support OpenCart hosting. There are many hosting providers support one-click installation, but to make sure the tutorial is useful or everyone, we’ll do the installation manually.

Pre-installation Prepare Your OpenCart Installation

Before the installation, you need to have your database and FTP user account info. Next, save the newest version of OpenCart from the OpenCart download page to your local folder. Extract the zip within your working folder then rename:

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

Upload every file and folder to your server from the Upload folder.

upload opencart to hosting

In this tutorial, I will install OpenCart on my local machine, which is almost similarly configured in a shared hosting service.

Make sure these folders on the server are writeable (chmod 0755 or 0777):

image/
image/cache/
cache/
download/
config.php
admin/config.php

Go to your shop’s homepage and follow the steps in the installation wizard:

Step 1 – User licence agreement: read the user license info and hit “Continue” button

install opencart 2.0

Step 2 – Server set up: this screen helps you check if your server’s set up matches the OpenCart’s requirements. If everything is okay, hit the “Continue” button to go to the next step – Database configuration.

install opencart 2.0

If something is in red, read what changes need to be done, perform them, then go back by hitting the Back button and Continue again. In my case, I had a small error and I had to rename the two config_dist.php files to config.php as seen below.

Step 3 – Database configuration: provide your database credentials as asked. For Database Driver, most hosting providers use MySQL, and for database prefix, pick something unique – this should make your configuration more safe. The rest is given by your hosting company. If you filled out this form with your own data, hit Continue.

install opencart 2.0

Step 4 – Rename/Delete “install” folder: We’re at the finish line! As the warning says, delete the install directory and continue either to your store front or to the administration. Let’s go to the Administration area, where the exciting things happen for the new friends of OpenCart.

install opencart 2.0 final step