OpenCart is a free, open-source shopping cart. You can install OpenCart using cPanel by just one click, which will be much easier than manually installing it. However, in this tutorial, we will show you how to manually install OpenCart into your server. Before anything else, make sure your hosting meet the requirements listed below.
- PHP (at least 5.2)
- PHP Settings:
- Register Globals: Off
- Magic Quotes GPC: Off
- File Uploads: On
- Session Auto Start: Off
- Required PHP extensions:
- Database (MySQLi suggested)
- Curl enabled
Download OpenCart from the OpenCart Downloads Page
Assign the user ALL Privileges. The database information is needed for the installation process.
OpenCart does not allow special characters in the database password field, be sure to NOT use any special characters in the password, only letters and numbers.
Use your FTP or SFTP client to upload the extracted folders and files in the folder “upload” to your hosting. Make sure you have set the correct permissions on the opencart directories. For example, for Apache server, default user/group names are “apache”. To set the user/group permission in Linux, execute the command (Change the Path to match the location of the your store):
chown apache:apache /var/www/store-path/* -R
You’ll need to fill in the database name, database username, and password. You’ll also be setting up an adminstrator username and password as well.