How To: Install CS-Cart on a Host with cPanel

Note

Tutorial Difficulty: 1 / 3

In this tutorial, you will learn how to install CS-Cart on a virtual host with cPanel in 4 easy steps. cPanel is one of the most popular hosting control panels.

Even if your host offers another control panel, you may still find this tutorial useful.

Note

CS-Cart works on any host that supports MySQL and PHP. You can learn about the minimum requirements here.

Step 1. Create a MySQL Database

1.1. The easiest way to set up your first database is to use a wizard. Go to cPanel → Databases → MySQL Database Wizard.

Note

If the cPanel provided by your web hosting service doesn’t have MySQL Database Wizard, use MySQL Databases. Create a database and a user, then add the user to the database. Make sure to give the user All Privileges.

MySQL Databases and Wizard icons in cPanel

1.2. Name your database and click Next Step.

Naming a database in MySQL Database Wizard

1.3. Create a user for your database. Enter a username and a password and click Create User.

Creating a user with MySQL Database Wizard

Hint

If your password is shorter than 5 characters, cPanel might not accept it. If you can’t come up with a password, use the Password Generator.

1.4. Add your newly created user to the database. Make sure to tick the All Privileges checkbox.

Granting a user all privileges in MySQL Database Wizard

After you press the Next Step button, cPanel will offer you to create more databases and users — just press Return Home. If you want to see the newly created database, press Return to MySQL Databases.

Press Return Home after you create a database and a privileged user.

Step 2. Upload CS-Cart to the Server

2.1. Download the latest version of CS-Cart. Then go to cPanel → Files → File Manager.

The icon of File Manager in cPanel.

2.2. Select the directory for the File Manager to upload CS-Cart to. Choose Document Root for and select your domain name from the dropdown menu. In our case, it’s cscart.fcomet.com.

Important

You need to associate a domain name with your host’s IP first: find out what name servers your host uses for your domain, then use your domain registrar’s control panel to associate your domain name with the name servers. We suggest you read this article to learn more.

Select the directory where you want to upload CS-Cart.

2.3. It’s time to upload the CS-Cart archive (the file you got in Step 2.1) to the server. Press the Upload button and select the cscart_v4.x.x.zip archive that you got earlier.

The interface of cPanel File Manager.

2.4. Select the uploaded file and press the Extract button.

Extracting the CS-Cart archive with cPanel File Manager.

Step 3. Install CS-Cart

3.1. Open your store’s URL in a browser. You’ll see a message that CS-Cart is not installed. Let’s fix this by clicking the [install] link.

Opening our store's main page in a browser.

3.2. Read and accept the License Agreement in order to proceed.

Tick the checkbox to accept the License Agreement.

3.3. Fill in the form using the details below:

MySQL Server Host Enter the DNS name or IP address of your MySQL server. Usually it’s localhost (because the database and the website are stored on the same server).
MySQL Database Name Enter the name of the database you created in Step 1.2. Remember that the database name includes a prefix that you also need to add.
MySQL User Enter the username you created in Step 1.3. Again, remember the prefix.
MySQL Password Enter the password of the MySQL user (see step 1.3).
Administrator’s Email Enter your email here. CS-Cart will use it to notify you about new orders, call requests, and other important events in your store.
Administrator’s Password Enter the password you will use to access the CS-Cart administration panel.
Main Language English (or any language of your choice).
Fill in the MySQL and administrator's data to proceed.

Note

Additional languages are available under the Advanced tab of Administration settings. You can enable or disable them now or later.

3.4. If this is your first time with CS-Cart and you want to see what your store will look like once you add the details about your products, fill your store with demo products, orders, and banners.

To do that, tick the Install demo data checkbox. You can always remove demo data later. We’d appreciate it if you helped us make CS-Cart better. Tick the Help us improve CS-Cart checkbox to send anonymous usage statistics.

Choose if you want to install demo data and send anonymous statistics to CS-Cart developers.

3.5. After you press Install you’ll see the progress bar running. Please, don’t close the page during the installation. This is when CS-Cart settles in on your server and unpacks various themes and add-ons. Don’t worry, it won’t be long before your new store is good to go!

Don't close the page, wait for the progress bar to fill.

Step 4. Choose Your Licensing Mode

The next step is to choose your licensing mode. You have 3 options:

  1. Enter your license number to enable the Full Mode, that gives you unrestricted access to all CS-Cart features, i.e. several dozens of add-ons, multiple languages and currencies, unlimited number of product filters on the storefront, and more. You can purchase a license any time.
  2. If you don’t have a license yet, we offer a free 30-day trial with full access to all CS-Cart features. After the end of your trial period you can purchase a license or switch to the Free Mode.
  3. The Free Mode leaves some features unavailable, but has no time restrictions. You can use this mode from the start or switch to it once your trial period is over.

Important

The Free Mode is not available in Multi-Vendor. Beginning with version 4.3.7, it was removed from CS-Cart as well. Once the trial period expires, enter your license number to continue managing your store.

Enter your CS-Cart license number, get a 30-day trial or use the free version.

Once you choose your licensing mode, your online store is all set! Now you can go to the Storefront to view your store, or to the Administration panel to manage it.

After the installation you can view the store and manage it.