Opencart is quickly becoming one of the leading open source e-commerce platforms available. Opencart is a simple, easy-to-use e-commerce solution which delivers all the features you would expect from a modern e-commerce software. That’s why we have added it to our Shared Hosting Plans as a 1 click install. If you have a Dedicated Server or VPS you will need to download Opencart and install it. Here below are the steps you need to take install OpenCart using cPanel.

You will need the following information to install Opencart

1. A web hosting account with PHP, MySQL Databases

2. Your cPanel username and password

3. Latest Version of OpenCart

Step 1 – Download the Opencart Software

Visit http://www.opencart.com/index.php?route=download/download and download the latest version of Opencart.

Step 2 – Log in to cPanel

Log into cPanel using the link which your hosting company has sent you. It will generally be something like www.yoursite.com/cpanel

Step 3 – Create a MySQL Database

Before you upload any files and begin the actual installation process you will need to create a MySQL database to store all of your Opencart information. OpenCart currently only supports MySQL databases.

Click on MySQL Databases application in the Databases section of cPanel. You will then be prompted to either create a MySQL database, create a user or add a user to a database. This does vary slightly between different versions of cPanel but these options are basically the same. The first thing you need to do is create a database. You can do this by entering the name of the database which you would like to create.

After you have created a database you will now need to create a user and give them the permissions needed to install Opencart and all scripts to work with the data. Create a user and give them a password, make sure you make a note of the database name, user name and password as you will need them later. Once this is done the final step is to give the user access to the database and set their permissions. Until you understand permission a little better it is probably best if you give the user ALL permissions.

Step 4 – Upload the Opencart Software

Now you need to upload the OpenCart zip file which you have downloaded and begin the installation process.

The easiest way to upload the OpenCart Package is to use the file manager application within cPanel. After opening up the file manager application you need to find the installation directory or folder on your server that you want to install Opencart into. For this example our Opencart store is going to be installed in the root directory of the file manager e.g /home/user/public_html/. So now you will need to go to the directory public_html/ and click upload file.

It is now time to upload the Opencart zip file that you downloaded previously in step 1. To upload click on the ‘browse’ button, select the OpenCart Zip file and upload.

You will now see the OpenCart zip file in the public_html/ directory. You will now need to extract the files within the Zip, to do this select the file and click ‘extract’.

When the files have finished extracting you will be left with a few text files which contain installation instructions, licenses and changelog files along with a folder called Upload. You will now need to click into the Upload directory, select all the files and copy the files back into your public_html/ directory.

Step 5 – Run Opencart Install

Now that you have created a database and setup a database user, uploaded and extracted your Opencart zip file to the correct place on the server it’s now time to run Opencart install script. To complete the installation you will need the name of the database you created previously and also the username and password to access the database, so have this ready.

The next thing you will have to do is open a web browser and type in the domain name of your OpenCart shop such as www.youropencartshopdomain.com you will then be automatically taken to the start of the Opencart install script. Here you will need to agree to a license agreement, followed by a hosting environment test to make sure that your web hosting package has all the requirements for Opencart to run properly. If your hosting package does not meet OpenCart requirements you will need to need to upgrade your web hosting package to meet the OpenCart requirements.

If your hosting meets the requirements you can now click ‘next’, you will then be presented with a settings page in which you will have to enter your database information, the name of your admin user, password and their email address.

After you have entered your database name, the database username and password which you created in Step 3, you can now enter the name of the admin user and give them a password. Then you will need to enter the admin users email address and click on ‘next’.

Step 6 – Delete the Install Directory

Before logging into you new Opencart store you will need to make sure that you delete the install directory. Login to your cPanel file manager application that we used previously and select and delete the public_html/install directory.

Step 7 – Installation Complete

Ok your Opencart ecommerce shop should now be installed. You can visit your store by visiting www.youropencartshopdomain.com or you can log in to your shop by visiting www.youropencartshopdomain.com/admin.

Good Luck!

Shares
Share This