Installing OpenCart
OpenCart is compatible with all hosting.com accounts.Although hosting.com servers are compatible with a wide variety of software applications, we cannot provide troubleshooting assistance for application-specific issues.
- Download the OpenCart application file at https://www.opencart.com/index.php?route=cms/download to your computer.
- Extract the zip file on your computer.
-
Use FTP to upload the contents of the upload folder to the public_html directory of your hosting.com account. For information about how to access your account using FTP, go to Using FTP (File Transfer Protocol).
📘 Note This step assumes that you want to run OpenCart from your domain’s document root (for example, example.com). If you do not want to do this, create a directory beneath the public_html directory, and transfer the contents of the upload folder to that directory instead. For example, to run OpenCart from example.com/cart, create a directory under public_html named cart, and then transfer the contents of the upload folder to it.
-
Use cPanel to create a MySQL database and database user for OpenCart. You will need this information during the web configuration process.
📘 Note For information about how to create a MySQL database and user, go to Managing MySQL databases and users.
- Using the cPanel File Manager or the command line, rename the config-dist.php file to config.php.
- Using the cPanel File Manager or the command line, rename the admin/config-dist.php file to admin/config.php.
- Using the cPanel File Manager or the command line, change the permissions for the config.php files you created in steps 5 and 6 to 777 (read-write-execute).
-
Use your web browser to start the installation. The installation URL is one of the following:
- If you are installing the application in the domain’s document root directory, use http://www.example.com.
- If you are installing the application in a subdirectory, use http://www.example.com/directory, where directory represents the path to the application files.
- On the License agreement page, click Continue.
- On the Pre-Installation page, confirm all of the settings are correct, and then click Continue. Alternatively, modify the required setting or settings, refresh the page, and then try again.
- On the Configuration page, in the Please enter your database connection details section, specify the settings for the database that you created in step 4.
- On the Configuration page, in the Please enter a username and password for the administration section, specify the administrator’s e-mail address and login information.
- Click Continue. The Installation complete page appears.
Post-installation configuration
After you finish installing OpenCart, complete these additional steps to help secure your site:- Using the cPanel File Manager or the command line, delete the install folder.
- Log in to OpenCart as the administrator. If you receive any security notifications, follow the recommended steps to help secure your site.
More information
- For general information about OpenCart, please visit https://www.opencart.com/.
- To view the online OpenCart documentation, please visit https://docs.opencart.com/.