Time for action—uploading OpenCart using cPanel File Manager
This is the first method of uploading OpenCart files to a web host. Many modern web hosting solutions include a control panel called cPanel, and we can use the cPanel File Manager utility to directly upload a ZIP file to web host and decompress the files there easily.
In this example, we will install OpenCart on the store directory.
Note
You can generally reach cPanel on http://yourwebsite.com/cpanel with the username and password which the hosting provider emailed to you upon registration.
Let's open File Manager utility at cPanel.
It will choose the Web Root as default. We will continue with the Go button.
Let's click on the Upload link.
Let's choose OpenCart ZIP file using the Browse button on the next screen. After the upload completes, we return back to the main cPanel File Manager screen.
We will right-click on the file and select Extract.
It will open a pop-up window. Just press the Extract File(s) button to decompress the ZIP file into the root web folder.
All files were extracted into a folder named opencart_v1.7.
Tip
The default folder name depends on our OpenCart version.
We will need to browse into this folder first. We see a folder called upload under it. We will need to rename it as store at first.
Right-click on it and choose Rename from the menu.
Rename the directory as store, as in the following screenshot:
We will need to move the renamed store directory to the root. Let's right-click on the store directory and choose Move from the menu.
Change the destination directory as /public_html/ and click on Move File(s) button.
What just happened?
OpenCart files are now on the web host in a subdirectory. Our online store will be reachable at http://yourwebsite.com/store after completion of all the remaining installation steps.
Tip
If you have completed uploading OpenCart files to a subdirectory using cPanel File Manager tool already, skip the following action and continue reading Setting File Permissions.