How To Install OpenCart Manually?

In some cases you might need to install the application manually. In this article we will show you how to do that step by step.

To begin with the installation you will first need to download the application from the official website of the vendor. Currently the latest version of the application is 2.3.0.2.

Once you have downloaded the 2.3.0.2-compiled.zip file you need to extract it on your local computer. The extracted files should be uploaded under your hosting account where you would like to have PrestaShop installed. Now you should set the root folder of the application and upload the files in it. You can do that using an FTP client by following the instructions here.

As the files are uploaded to your account a database for the application should be created. You can find more information on how to do that in the article here.

When the database is created you can proceed with the actual installation. To do so you should access the root folder of the script via your web browser. In our example we are installing OpenCart in public_html/OC, so the URL we will type in the browser is domainname.com/OC. This will lead you to the installation wizard.

On the first screen you will see the license agreement notice. You can read it and next you should click the Continue button:

Next a system requirements check is made. As you can see in the following image the config.php and admin/config.php files are marked as missing:

This is due to the fact that the file names are changed by default in order to avoid a harm in case that you mistakenly upload the new files in already created application. To resolve the issue and proceed you will need to access the root folder of the application using the File Manager in cPanel and rename the files.

The first one in in the root folder and is currently called config-dist.php – you need to rename it to config.php:

The second file is located in the admin folder under the root directory and it is also called config-dist.php. You must rename it to config.php:

Once the files are properly renamed you can proceed with the installation of the script. If you refresh the page where the notice was displayed you will see that all the requirements are now met:

Clicking on the Continue button will lead you to the next page of the installation wizard and you will be asked to fill in the database associated with the application. You can find more information on how to create a database here. You should also enter the administrative username, password and email address:

You are almost ready now. Once the details mentioned above are applied you will see a screen that reminds you to delete the installation directory of the application. You can do that either using the File Manager in cPanel or your FTP client:

Once you delete the install folder you should be able to access the website and its administrative area: