Get Rewarded! We will reward you with up to €50 credit on your account for every tutorial that you write and we publish!

A tutorial for installing PrestaShop on a Hetzner Webhosting!

profile picture
Author
Josua Eisenbraun
Published
2025-10-07
Time to read
8 minutes reading time

This tutorial explains how to install the PrestaShop web shop.

What is PrestaShop?

PrestaShop is an open source e-commerce platform. For further information and help, please visit: https://prestashop.com

Example terminology

  • Username: prestashop
  • Database name: prestashop_db
  • Database username: prestashopuser
  • Database password: abcde*1234#XYZ
  • Hostname / Database host: <xyz.your-database.de>
  • Domain: <example.com>
  • Subdomain: <prestashop.example.com>
  • FTP client: FileZilla
  • FTP/SSH user: exampleuser
  • Public SSH key: id_<type>.pub
  • Storage amount: 256M
  • Directories: public_html
  • Terminal commands: CD,SCP,RM

Prerequisites

Installing PrestaShop

Step 1 - Preparing for installation

1.1 Create database on konsoleH

  • Log onto konsoleH.
  • Navigate to Services -> Databases -> `MariaDB/MySQL ».
  • Go to MariaDB/MySQL Databases and click on Add. konsoleHAddDatabase
  • If you want, you can now customize the name of the database, the login, and the password. konsoleHDatabaseSetup
  • Click on Save. The Connection ID should now be displayed above the database access data.
  • Now copy these into a text file on your computer, for example. You will need them later for the setup.

1.2 PHP settings on konsoleH

  • On konsoleH, navigate to Services -> Settings -> PHP Configuration ». konsoleHPHPConfiguration
  • Go to PHP-Version and select the latest PHP version. PrestaShop needs to be PHP 7.2 or newer.
  • Click on Save.
  • On the same page, navigate to the PHP settings and verify that allow_url_fopen is set to on and the memory_limit minimum to 256M.
  • If there is a lower value there, select 256 in the field to the right and click on save at the bottom left of the page.

1.3 Generate SSH key

Install your public key via an FTP client:

  • Upload your public key id_<type>.pub there under Public SSH Keys by clicking on Add. Then copy the content into the window that you see after that.
  • Then click on Add. Your public key and a comment should now appear under Public SSH Keys -> Key Type.

Step 2 - Upload PrestaShop to the web directory

2.1 Option 1 - Via an SSH connection

  • Download the latest version of PrestaShop from the official website: https://prestashop.com/prestashop-offers/classic/.

  • On Linux, you can unzip the ZIP file using unzip in your terminal or by double-clicking it in your file manager.

  • On Windows/macOS, you can unzip the ZIP file by double-clicking it in your file manager.

  • Now open a terminal and navigate to the directory where you extracted the PrestaShop archive:

    cd /pathToPrestashop/
  • On konsoleH, navigate to Settings -> Access Details -> Login data and copy the SSH connection command by clicking on the red page icon.

  • Upload the required files to the web hosting server by pasting the copied command and adjust it as follows:

    scp index.php prestashop.zip testuser@wwwxyz.your-server.de:public_html/ -p 222
  • You may need to refer to your previously created private SSH key here. To do this, simply add the following line to your SCP command:

    -i <PathToYourSSH-Key/id_<type>
  • Now you can continue with the installation of PrestaShop as described in step 3.

2.2 Option 2 - Via a FTP client

  • Download the latest version of PrestaShop from the official website: https://prestashop.com/prestashop-offers/classic/.

  • On Linux, you can unzip the ZIP file using unzip in your terminal or by double-clicking it in your file manager.

  • On Windows/macOS, you can unzip the ZIP file by double-clicking it in your file manager.

  • Now open your FTP client. We used FileZilla for the installation.

  • Click on File -> Site Manager -> New site and name the server, for example: PrestashopTest. FileZillaSiteManager

  • Go to Protocol and select SFTP-SSH File Transfer Protocol. Go to Host and enter your web hosting server wwwxyz.your-server.de. Then go to Port and enter 22.

  • Go to Logon Type, and select Key file. Go to User and enter your login name from konsoleH.

  • Go to Key file and click on Browse.

  • In the now-open window, navigate to the directory where you saved your SSH key pair.

  • Now select your private key:

    id_<type>
  • Add it to Filezilla by double-clicking it, and connect to the web directory on the web hosting server by clicking on connect.

  • In FileZilla, navigate to the directory on the left where you extracted the downloaded file and to your public_html directory on the right.

  • Now drag the two files index.php & prestashop.zip from the left window to the right window and wait until FileZilla has completed the transfer. PrestashopFileZilla

Step 3 - PrestaShop Installation Wizard

  • In your browser, navigate to the domain address where you uploaded the PrestaShop files https://example.de/. PrestashopInstaller

  • Now wait a moment until the installation wizard has unpacked the archive.

  • You should now be on the installer's welcome page. You can select the language under Continue the Installation in: PrestashopLanguage

  • Click on Next and you will be taken to the license agreement. Check the box I agree to the above terms and conditions. PrestashopT C

  • On the following page, enter your website name, your login details for the web interface, and your time zone. PrestashopConfiguration

  • By clicking on Next, you will be taken to the pre-configuration of your PrestaShop. PrestashopContent

  • By clicking Next, you will be taken to the setup for the database. Here, you need to fill in the data from konsoleH: PrestashopDatabase

  • Click on Test you databse connection now to check that the data is correct and that a connection to the database can be established. Below this, you should now see a green field with a green check mark and the text Database connected.

  • Click on Next to complete the PrestaShop setup. The wizard will now create the necessary tables in the database, install all the required modules and plugins, and make the final configurations.

  • You should now be on the last page of the wizard, where you will be informed that you must delete the Install folder. PrestashopInstallFolder

  • The easiest way to do this is via the FTP client as follows:

    • Select the Install folder by right-clicking on it and then click on Delete.

    PrestashopFileZillaInstallOrdnerL schen

  • This works as follows via SSH. Please note, however, that you should only execute this command in the PrestaShop installation directory. Make sure you copy it correctly; otherwise, you may delete other directories with the same name or your entire web directory. Warning: We accept no liability for deleted data.

    • Navigate to the installation directory of PrestaShop:

      cd <PathToInstallationDirectory/>
    • Delete the PrestaShop Install folder:

    rm -fr Install/
  • You should now be done with the installation and setup of PrestaShop and should be able to log in to the administration interface of your online store.

License: MIT
Want to contribute?

Get Rewarded: Get up to €50 in credit! Be a part of the community and contribute. Do it for the money. Do it for the bragging rights. And do it to teach others!

Report Issue
Try Hetzner Cloud

Get €20/$20 free credit!

Valid until: 31 December 2025 Valid for: 3 months and only for new customers
Get started
Want to contribute?

Get Rewarded: Get up to €50 credit on your account for every tutorial you write and we publish!

Find out more