Skip to main content

PrestaShop

On this site, you find a guide to install PrestaShop on CloudPanel.

Creating a PrestaShop Site#

Via CloudPanel#

  1. Click on + Add Site and then click on Create a PHP Site.
Create a PHP Site
  1. Select the Application PrestaShop 1.7, enter Domain Name, Site User, Site User Password, and click on Create.
Create a PrestaShop Site

Via CloudPanel CLI#

If you like the command line, you can create a PrestaShop Site with the following command as root user.

clpctl site:add:php --domainName=www.domain.com --phpVersion=7.3 --vhostTemplate='PrestaShop 1.7' --siteUser='john-doe' --siteUserPassword='!secretPassword!'

Creating a PrestaShop Project#

  1. Log in via SSH with the Site User:
ssh john-doe@server-ip-address
  1. Go to the tmp directory:
cd ~/tmp
  1. Download and extract the latest PrestaShop 1.7 version.
curl -sL https://github.com/PrestaShop/PrestaShop/archive/1.7.8.6.tar.gz | tar xfz -
Latest Version

You find the latest version on github: https://github.com/PrestaShop/PrestaShop/releases

  1. Copy files to the root directory of your site:
cp -R PrestaShop-1.7.8.6/*  ~/htdocs/www.domain.com/
  1. Install the project via composer:
cd ~/htdocs/www.domain.com/php7.3 /usr/local/bin/composer install
  1. Clean up the tmp directory.
rm -rf ~/tmp/*
  1. Create a Database, open your site in the browser, and go through the PrestaShop Installer.
PrestaShop Installer
  1. Done! PrestaShop is now installed.
PrestaShop Installed