fbpx

Get Lifetime 14% off Crazy Elements, your PrestaShop Page Builder

Get Lifetime Offer
Days
Hrs
Min
Sec
How to Install Prestashop on Localhost

How to Install Prestashop Step by Step | Localhost Prestashop Install

Are you thinking about localhost Prestashop install, or how to install Prestashop on localhost using XAMPP or LAMP or CentOS/Ubuntu, then this article is for you. I will show you the step-by-step localhost Prestashop install.

myshop theme

Prestashop is the most popular content management system for e-commerce websites. A lot of small businesses and large enterprises use Prestashop.

Video Watch: How to Install PrestaShop on Localhost

How to Install Prestashop on Localhost

Before you start installing you need the following:

1. XAMPP server installed on your computer.
2. Prestashop installation Files.

Install XAMPP server on windows 10

  • Install XAMPP at any location, we install at c drive.
  • Create project folder in the following htdocs directory.
  • Create project folder in the following htdocs directory
  • Now you have to put the downloaded prestashop file in this project folder.

Prestashop installation process:

  • Download the Prestashop.
  • Create the Database.
  • Upload the downloaded file to the server.
  • Delete archive folder and install folder.

It will take some time to continue the process and setup. So you have to keep patience.

Download the Prestashop for Localhost Prestashop Install

At first, you have to download the Prestashop installation package from the official site of Prestashop. You can download the Prestashop.

How to Install Prestashop on Localhost

After downloading the Prestashop, extract the package and move all files to the htdocs project folder.

Create the Database

Now we have to create the database. To create the database, open the phpMyAdmin, then click on the Database tab and add the name, then click create button.

Localhost Prestashop Install

Upload the downloaded file to the server

When you have extracted the file, it’s time to upload the file to your server localhost. We have already uploaded the file in a folder named ‘newpstest”. So when we browse localhost in the website then we got our folder “newpstest”.

Localhost Prestashop Install

Now if you click on the “newpstest” then it will open up the Prestashop installation wizard.

If you see an error like this then you need the grant write access permission :

“An error has occurred: You need to grant write permissions for PHP on the following directory: /var/www/html/newpstest”

Install Prestashop on Localhost

So you have to Change file permissions of all directories to 777 using your FTP software. In Filezilla, this is done by:
File permissions >777>tick box to do it for all subdirectories> choose directories only. I’m using ubuntu and I give the folder permission to create and delete and it works for us.

Install Prestashop on Localhost permission

Now the Prestashop starts installing and it takes little time.

install complete of Localhost

If your language is different then you can change the language from the dropdown of English language and click on the Next button.

Now you will see the License Agreements window. Check the “I agree to the above terms and conditions” and click on the Next button.

Now you will see the window “Information about your store”, and fill the form and click on Next Button.

installation assistant Install Prestashop on Localhost

Now you have to configure your database by filling out the following fields.

Install Prestashop on Localhost

You have to put the database name, database login, password and then click next.

Note: At first we create the database from phpMyAdmin, and we put the same name to the database name.

Now you will see the Installation finish window! When you click on the Prestashop back office or front office then you will see an error like this:

Install Prestashop on Localhost

Delete archive folder and install folder

Now go to your installed Prestashop folder inside www, so there you will get the folder name “install”

  • Delete the install folder.
  • Delete the cache folder from var > cache.
install Prestashop localhost
  • Rename the admin folder. Make sure not put the exact name “admin”. Use anything without admin.
Prestashop install
Read: Prestashop Vs Shopify In 2021: What To Choose?

If you want to find the Prestashop Admin Login URL then read this:

How to Find The Prestashop Admin Login URL Panel

If you feel any issues to apply the above process, feel free to explore our PrestaShop Development Services.

Share :

Share Your Valuable Opinions

Join The Ride

Subscribe to our newsletter with stories from our latest prestashop tutorial and the best tips & Tricks

Articles You may also like