fbpx

⚡⚡ Classy FAQ Module for PrestaShop at $14.50 Only!

Get 50% off Now!
How to Install Prestashop on Localhost

How to Install Prestashop on Localhost | 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.

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

Read: Prestashop Vs Shopify In 2021: What To Choose?

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.

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

How to Find The Prestashop Admin Login URL Panel

If you have any queries regarding localhost Prestashop install then let us know the issue.

Share :

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Share Your Valuable Opinions

Boost engagement and Increase Sale

50% OFF

Classy WhatsApp Button PRO

FIRST 30 CUSTOMERS WILL SAVE 50% 😮
WHY NOT YOU? HURRY UP!

LIFE TIME OFFER

Discount is automatically applied to your purchase!