1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

How to Install OpenCart

This article explains how you can manually install OpenCart through the cPanel.


For the step-by-step video tutorial on how to install OpenCart, please visit Install Applications.
 

Download the OpenCart Files

Download the latest version of the software at the official website of OpenCart.
Download OpenCart Files
Back to top

Upload the Installation Files

  1. Inside the cPanel account, go to your File Manager to upload the OpenCart installation package.
    File Manager
  2. Choose a folder where you want to upload your files. In this example, files were uploaded in public_html. Once you have decided or created a folder, click Upload.
    Upload Files
  3. On the upload screen, you can drag and drop the zip file you just downloaded from the OpenCart official website, or click Select File.
    Drag and Drop or Select
  4. To extract the uploaded zip files, click the Extract button.
    Extract Files
  5. After extracting, open the Upload folder.
    Click Upload Folder
  6. Select all the files inside the Upload folder.
    Select Files inside the Upload folder
  7. After selecting all the files, click Move to the domains directory. In our example, we are moving it to the public_html.
    Move Files
Back to top

Create a Database

  1. Create a database and user account for your OpenCart installation. To do so, click MySQL Database Wizard inside your cPanel.
    MySQL Database Wizard
  2. Provide a database name, and click Next Step.
    Database Name
  3. Create a database username and a password, then click Create User to proceed.
    Username and Password
  4. Ensure that the ALL PRIVILEGES box is checked.
    Check All Privileges box
  5. Click Next Step to finish the task.
    Next Step button
  6. The new database is now successfully created!
    Database Task complete
Back to top

Run the Installation

  1. In your web browser, navigate to the folder where you uploaded the OpenCart files. In our example, files were uploaded in public_html, so run the installation at https://yourdomainnamehere.com. On the first screen, you’ll be redirected to the license agreement. Click Continue to proceed.
    License Agreement
  2. Here, you’ll find technical requirements and correct permissions to set up OpenCart. If everything is set to green marks, you may click Continue to proceed.
    Technical Requirements


    Tip:  As of version 2.3.0.2, the following files inside your file directory need to be renamed to continue to Step 3:

    • config-dist.php to config.php
    • admin/config-dist.php to config.php
     
  3. Under the configuration page, you need to add the administration as well as database details. Add the database details, i.e., ‘Hostname, Username, Database, Port’, then your administration details like ‘Username, Password, E-mail’ and hit Continue.
    Database Details
  4. Once you're done with the configuration page, you will see the installation complete page with a reminder not to forget to delete the installation directory.
    Installation Complete
Back to top
Chat
Close