You are currently viewing How to install PrestaShop and Build an online eCommerce shop

How to install PrestaShop and Build an online eCommerce shop

The world is quickly changing, and online businesses are taking over. People will first shop online before making their way to your physical shop. Building and maintaining an e-commerce shop can be expensive, but the emergence of some drag-and-drop web builders, and ready-made shops has made it possible to cut short the budget of coming up with an e-commerce shop. There are a variety of such platforms you can choose and come up with a shop without having any coding skills or experience. All that is needed is to have the information about your shop, and with a few clicks, you have an online shop, ready to start selling! This article highlights, how to install Prestashop, Prestashop requirements, and common errors in Prestashop installation. See below an example of e-commerce website builders:

12 popular e-commerce website builders

  2. Shopify
  4. 3dcart
  5. Weebly
  6. Squarespace
  7. BigCommerce
  8. Wix
  9. WooCommerce
  10. Volusion
  11. Zyro
  12. Selz

In this guide, we will review how to set up PrestaShop in a few minutes and have your shop online.

Prestashop Requirements

To install Prestashop, you will need a domain name and hosting. Also, ensure that the following server requirements are met.

  • PHP extensions:
    >> PHP 7.1 or later, but not above version PHP 7.4. (At the time this article was published)
    >> Ensure the following PHP versions are enabled: gd, cURL, zlib, SimpleXML, SOAP, OpenSSL, PDO, Mbstring, Mcrypt, PHP’s OPcache extension
    >> Other PHP settings: memory_limit set to at least 128MB, max_execution_time set to at least 180
  • Database:
    >> MySQL 5.0 or later (recommended) or MariaDB
    >> Access to create a new database
    >> InnoDB storage engine enabled
  • Ensure that the domain is accessible online, the server has enough space in terms of disk usage and inode usage, and has SSL installed.

How to install PrestaShop on Cpanel

There are 2 methods of installing PrestaShop on your Cpanel.

Method 1: How to install PrestaShop from the softaculous app installer

How to install PrestaShop from the softaculous app installer
  1. Login to your Cpanel. Under the software group, click on the softaculous app installer.
Softaculous apps installer

2. On your top left search field, search for Prestashop, click on this option, then click on Install Button.

install PrestaShop

3. Select the domain you wish to install Prestashop on, and set other administrative information. Ensure to note down the information filled in here as it will be required in the future. Once done, click on install

Prestashop software setup

The installation may take up to 5 minutes to complete. Once done, you can now access the admin dashboard, and customize and upload your products.

How to access the Prestashop admin dashboard

There are currently 2 ways of accessing your admin dashboard:

  • Upon installation of Prestashop, an admin URL will be generated. Use the URL and the information you used when doing the installation.
  • From your Cpanel; access the softaculous app installer > search for Prestashop; under current installation, click on the user icon to log in.
Prestashop admin login

Common errors when installing Prestashop

  • During Prestashop installation, the following error may happen. Unable to generate new_cookie_key, hence can not install Prestasho….. This is a system error or an error related to the version you wish to install. To resolve this, try installing an older version or install Prestashop manually as illustrated on method 2 below.
  • Error 500. The error is mostly caused by the wrong PHP version. As of the time of writing this article, Prestashop requires PHP version 7.4 or later versions. Adjust the PHP version to resolve this error. See the reference guide on how to change PHP version in Cpanel

Method 2: How to install PrestaShop manually

How to install PrestaShop manually on Cpanel
  1. Visit Prestashop’s official website download page at download Prestashop , fill in your details, and select continue to download.
  2. Once the download is complete, upload the downloaded file to the root folder of your domain or subdomain. The method to upload the file is similar to that of uploading a static website. See how to upload a static website on Cpanel here
  3. Extract the uploaded file. Once done, initiate the installation process by accessing the installation domain or subdomain, select the language if different from the default, and click on “Next”.
install PrestaShop

4. Agree on the terms and conditions and proceed.

5. Fill in the information as required:

Information about your Prestashop Store

  • Shop Name: Enter your preferred shop name
  • Main activity: Click on the drop-down and select the category for your website.
  • Install demonstration data: Select Yes or No
  • Country: Select your county from the drop-down
  • Shop timezone: Select your preferred timezone
  • Enable ssl: Select Yes to reinforce ssl on your domain.

Your Account
Fill in the details as required. Proceed to the next stage.

install PrestaShop

6. The next stage requires that a database and a database user be created. Create a MySQL database and record the records. See the reference guide on how to create MySQL database on Cpanel. Fill in the database details and click “Next” to complete the installation.

7. Once completed, copy or take note of the email and the password as this will be needed to access the admin dashboard. Navigate to file manager and delete the folder named install:-for security purposes.

8. To access the admin dashboard; type in https://yourdomain/admin. While this is the default admin dashboard URL, this may automatically change for security reasons. If the link returns an error 404, navigate to the root folder of the domain and check on the name of the admin folder; usually, some characters will be added to this folder. Note this name and replace it on the URL. This will be your default admin URL.

Prestashop admin login

Access the admin dashboard and proceed to customize your shop.

Web Hosting and email hosting Packages

For web development services, SEO services, Digital marketing strategies, website set up services, web hosting and domain registration; contact Dynamic Technologies.

Related content: