How to install Prestashop 1.7 on localhost, hosting, server
What do you think about Prestashop? It is one of the most popular content management system for e-commerce websites. It is used by small businesses and large enterprise companies alike, and can be enhanced by thousands of Prestashop addons. More than 270,000 e-commerce sites worldwide run on this open-source platform and is available in 65 different languages.
It is fairly easy to use, provides a powerfully responsive store interface for shoppers. It also offers a comprehensive set of features. It's free & open source.
Today we will discover how to install Prestashop 1.7 on your hosting/server/local. I always love to deploy the shops on a Ubuntu Server - it's lightweight and easy-to-use. This is one of the most useful tutorials for developing your e-commerce site.
What are the steps to prepare for Installing Prestashop 1.7
And remember, the Prestashop Installation process on a server is more involved and time-consuming than using cloud hosting. But the rewards are greater: Better Performance, greater flexibility with the freedom to tweak your settings as you see fit.
You won’t ever have to wait for a cloud-host support team to change PHP settings for you.
Step I - Download Prestashop & Upload to Server
Download the latest PrestaShop package from the official website.
Extract the package locally on your computer.
In order to do that, please, use any extracting software to unzip. For example : Winzip, Winrar, 7Zip (Windows) or Keka, Archive Utility (MacOS)...
Open the extracted folder that includes prestashop.zip file. Upload this file to web server via cPanel File Manager or using an FTP client.
Bear in mind that the uploaded package should reside under the public_html directory. It's the web root folder for your account, or alternatively under a subdirectory of it.
Once you have uploaded the archive, extract it there.
Step II - Create a Database
As soon as the files are uploaded to your server, you should create a database for runing the setup Wizard.
You can easily do this from cPanel -> MySQL Database in case you're using Cpanel. If it's Virtualmin, visit Virtualmin -> Edit User / Edit Database.
If PhpMyadmin is installed on your server, use it to create a new database.
Step III - Run Prestashop 1.7 Installation Wizard
Navigate to http://your-website.com in a browser and the wizard will guide you through the setup process. On this step you will be asked to choose the language you want to use for your store.
Select language: The first screen is the language setting. Select the language for the installer, then click the “Next” button.
This will also set the default language for your PrestaShop installation. But other languages will also be available for you to enable later.
License agreements: PrestaShop is free and distributed under a certain set of open-source licenses. Read the terms and condition and select to agree with the terms and conditions.
(You simply cannot use this software if you disagree with the terms of the licenses, and this step requires you to explicitly acknowledge them).
System compatibility: It's a quick check of all the server parameters. If it is proceeded, that means, the system is ready to install Prestashop 1.7.
Store information: Where you can start customizing your shop: give it a name, indicate its main activity and personal information of the owner.
System configuration: Do you remember Step II? Fill in all the fields with the database connection information:
- Database server address
- Tables prefix (The table prefix can be left unchanged as well)
Ok, now test your connection to the database server.
When you done, click the next button to proceed with the installation. This might take a few minutes: please, be patient and do not touch your browser.
Our experience tells me that there are many errors could appear on the installation process. Especially if you use Prestashop 1.7 with Php 7.0, or Prestashop 1.6 with Php 7.2, 7.3.
The Wizard will create the necessary tables and finalize setting up the store. You will see a page that looks something like this:
Step IV - Delete Install folder & Archive file
For security purpose, you need to rename or delete the “install” folder inside the Prestashop 1.7 installation folder & Zip Archive file.
Waw! PrestaShop 1.7 was successfully installed on your server.
You can now log into the PrestaShop back-office by going to your newly-renamed “admin” folder, and start modifying your store by downloading Prestashop Addons to improve the feature & customize theme.
How to Install Prestashop Theme
- I. Download Theme Package to Local PC
- II. Import Theme into Website
- III. Activate Prestashop Theme
- IV. Install Sample Data
It's a quick introduction. Discover more on my tutorial How to Install Prestashop Theme.