PrestaShop is one of the most popular shopping cart and it allows you to setup your online store in minutes . Many internet hosting provider offer 1-click PrestaShop installation to automatically install PrestaShop for you. However, in this tutorial I will guide you how to install PrestaShop manually on your hosting server.
- 1 Download the latest stable release
- 2 Uploading PrestaShop
- 3 Create a database and user
- 4 Launch PrestaShop auto-installer
- 5 Wrapping Up
Download the latest stable release
Since PrestaShop is an open-source software, its constantly being improved by PrestaShop team. You can always find the latest version of PrestaShop on its official download page. Download and unzip in your local computer the latest version of PrestaShop if you haven’t done already.
The first step is to upload the PrestaShop files to your hosting server. You can use the FTP software like FileZilla to upload the PrestaShop files into your web server. In FileZilla, browse your local folders that contains the PrestaShop files and upload it on your web server.
If you want your shop in the main website for your domain i.e., http://www.example.com, upload PrestaShop at the root folder of the upload space. If you want your shop to be in a sub-folder of your domain name like http://www.example.com/shop, you need to create a folder through FileZilla (right-click and choose “Create directory”), then upload PrestaShop in that folder.
Create a database and user
PrestaShop needs php and MySql database to run properly. So before starting the installation of PrestaShop, you need to make sure your MySQL server has a database ready for PrestaShop’s data. The easiest way to do this is through your host’s cPanel, or hosting control panel.
Login to your cPanel account and click on the link called MySql Databases, or something similar. You will see a field to create a database. Enter the database name of your choice, and click “Create Database”.
You have now created a database for the PrestaShop store, but MySql still needs a database user to access this database. To do so, scroll all the way down to MySQL Users section. Just provide a username and password for your new user and click on the ‘Create a user’ button. Make sure to create a strong password for your user, you can also use password generator for generating password.
Now you will need to assign this user to that database and allow them to perform all actions. On same page, scroll down to ‘Add User to a Database’ section. Choose the database user you created from the drop down menu next to user, then choose database name, and click on the add button.
Choose all privileges, by clicking on All Privileges and click on the Make Changes button to assign the database use to database.
Now your MySQL database and user for PrestaShop installation are now ready, and now it’s the time to launch the auto installer for PrestaShop.
Launch PrestaShop auto-installer
The installation process is very easy with PrestaShop’s auto-installer. To launch the installer, enter your shop address web server i.e http://www.example.com or http://www.example.com/shop where you have uploaded the files. The script will automatically detect that PrestaShop is not yet installed, and will launch the auto-installer.
Step 1: Welcome page
The page is PrestaShop installer welcome page, shows information about PrestaShop. You can choose the desired language in which the installer will display its instructions.
Select the language in which you wish the installer to run, then click on”Next” button. This will set the default language for your PrestaShop installation – but you can even access other languages when installation is done.
Step 2: PrestaShop’s licenses
The second page shows PrestaShop license agreement. PrestaShop is open-source and its core is licensed under OSL 3.0 while the modules and themes are licensed under AFL 3.0. You need to agree the terms and conditions in order to use PrestaShop.
To go to the next step, check the “I agree to the above terms and conditions” box, then click “Next”. If you do not agree to the licenses, you cannot install PrestaShop.
Step 3: System Compatibility
The third page makes a quick check of PrestaShop compatibility with your hosting server.This page checks that everything is OK with your hosting server configuration i.e PHP settings, permissions on files and folders, third-party tools, etc. If everything is OK, it will display the following page.
If any settings is wrong or does not match the PrestaShop requirements, the installer stops you here, and will show you few technical details that need fixing, be it changing the PHP configuration or updating the file permissions etc.
You will need to resolve all the errors before proceeding with the installation. Some errors might be easy like changing permissions of certain folders, you can do it in FileZilla. You may require your server admin help for other critical errors.
After resolving all the errors, click on next for the next step of installation.
Step 3: Store Information
Now that installer has checked your server compatibility, in this step, it will ask you to customize your shop as per your requirements. You can give it a name, indicate its main activity, and indicate all other personal information for the shop owner
This form also lets you choose password for your store administration panel access. Be sure to choose a strong password and also remember it, as it will be needed to log you in administration panel of your store.
Click “next” to continue, after filling all information.
Step 5: System configuration
This page contains a form, where you have to fill database server, database name, database user and password that we have created earlier. The database server name is usually localhost, unless your host has specified something else.
Click the “Test your database connection now!” button to check that you have entered the correct server information. Click “Next”: the installer will start installing PrestaShop on your server. This might take a few minutes, please be patient and do not close or navigate your browser!
Step 6: Completing the installation
Now the installation process is completed and you will see the following message, now there are only a couple of last actions to perform before closing the installer.
To secure you PrestaShop you need to do 2 things, first delete the install folder, via FTP client like FileZilla. And secondly rename your PrestaShop admin folder name from “admin” to something unique like “admin455qfmq6t”. This step secure your PrestaShop store from, all potentially malicious things on internet.
Congratulations! PrestaShop Installation is now complete and you are now owner of an online store.
I hope this tutorial helps you in manually installing PrestaShop on your hosting server. If you face any issue you can ask that in comment below. I will try to help you out.
You can also take advantage of our Free PrestaShop Setup facility to install PrestaShop for you.