How to install PrestaShop in XAMPP Windows 11


PrestaShop is a free and very professional-looking open source e-commerce platform. Out of it, you can produce e-commerce websites. It was founded by Bruno Lévêque and Igor Schlumberger in 2007. And it was initially released on July 31, 2008. For this tutorial, we are going to create a beautiful e-commerce website from this amazing CMS. But first, you need to downloaded the needed files before your can start. These files are the XAMPP and PrestaShop installers. I already provided the download links below.


Requirements:


Assuming that you downloaded the files above, continue to the tutorials below.


Table of Contents

  • XAMPP Installation
  • Opening XAMPP and running Apache and MySQL
  • Copying and pasting PrestaShop installation folder inside htdocs
  • Creating Database needed for PrestaShop installation via Localhost
  • Installing PrestaShop website using localhost via web browser
  • Opening PrestaShop website homepage
  • Accessing PrestaShop website admin page

Here are the steps on how to install PrestaShop website using XAMPP in Windows pc


XAMPP Installation


1. Open the XAMPP file that you downloaded. If a Question regarding antivirus running appears, just ignore it and press YES to proceed.


xampp installation question about running antivirus

2. If a Warning about User Account Control (UAC) appears, click OK to proceed.


xampp installation warning about user account control

3. Under Setup - XAMPP, click NEXT to proceed.


xampp installation xampp setup

4. In the Select Components, just leave it as it is and press NEXT to proceed.


xampp installation select components

5. Under Installation folder, do not change the default location which is C:\xampp. Just leave it and press NEXT to proceed.


xampp installation folder location

6. In the Bitnami for XAMPP, just uncheck "Learn more about..." and press NEXT to proceed.


xampp installation bitnami for xampp

7. We are now ready to install XAMPP, click NEXT to start.


xampp installation ready to start

8. Wait for the installation to finish.


xampp installation underway

9. When done, click Finish to exit the installer.


xampp installation done

Opening XAMPP and running Apache and MySQL


1. To run XAMPP, go to This PC > C drive > xampp and click the xampp-control.exe.


accessing xampp control exe directory to open xampp cpanel

2. Inside XAMPP Control Panel, click the Start buttons for Apache and MySQL.


starting xampp apache and mysql services

3. Apache and MySQL are both running now when you see two Stop buttons. If there is a Windows Security Alert, just press Allow access.


successfully ran xampp apache and mysql services

Copying and pasting PrestaShop installation folder inside htdocs


1. Extract the PrestaShop zip file that you downloaded and rename the extracted folder as "prestashop". Copy presta folder and go to This PC.


search for this pc windows 11

2. Inside This PC, open your C drive.


windows 11 c drive

3. Inside C, open xampp folder.


xampp folder located in c drive windows 11

4. Inside xampp, open htdocs folder.


htdocs folder located in xampp folder c drive windows 11

5. Paste your prestashop folder inside htdocs.


copying and pasting the prestashop installation folder inside xampp htdocs

Creating Database needed for PrestaShop installation via Localhost


1. Open your web browser and go to 127.0.0.1 and press ENTER.


accessing xamp localhost using internet browser

2. Inside, click on phpMyAdmin.


accessing phpmyadmin using xampp localhost

3. Inside phpMyAdmin, click Databases.


accessing phpmyadmin via xampp localhost to make prestashop database

4. Under Databases, in the Create database, name it as prestashop_db and next to it, set it to utf8mb4_unicode_ci. Press Create to proceed.


prestashop database name

5. In the Create table, name it as prestashop_table. Set 4 as the number of columns. Press Go to proceed.


prestashop create table table name

6. Next, for structure, name it as prestashop and set INT as the Type.


prestashop structure name

7. For Collation, set it to utf8_unicode_ci and leave all the other fields blank.


prestashop collation utf8_unicode_ci

8. Save your work.


save structure collation for prestashop

Installing PrestaShop website using localhost via web browser


1. We are now ready to install our PrestaShop e-commerce website. To start, open your web browser and go to 127.0.0.1/prestashop/install and press ENTER.


accessing prestashop installation folder via xampp localhost using web browser

2. In the Welcome to the PrestaShop 1.7.8.7 Installer, select English as the installation language and press NEXT to proceed.


prestashop installation select language

3. In the License Agreements, just check the "I agree..." and press NEXT to proceed.


prestashop installation license agreements

4. Under System Compatibility, if you encountered the same errors as below (see image), then, we need to fix it first before we continue with our installation. Proceed to STEP 5.


prestashop installation system compatability errors

5. To fix the Required PHP parameters - "Intl extension is not loaded" as well as the "Install and enable the intl extension (used for validators)", just follow the tutorial below.


How to fix INTL error during PrestaShop installation

  • Go to c:\xampp\php and find php.ini
  • Right-click open with Notepad
  • Find ";extension=intl"
  • From ;extension=intl change it to extension=intl
  • Save Notepad
  • Restart XAMPP
  • Click "Refresh Information"

prestashop installation system compatability enable php extension intl

6. To fix realpath_cache_size warning, then, do the tutorial below.


How to fix realpath_cache_size warning during PrestaShop installation

  • Go to c:\xampp\php and find php.ini
  • Right-click open with Notepad
  • Find ";realpath_cache_size = 4096k"
  • From ;realpath_cache_size = 4096k change it to realpath_cache_size = 5M
  • Save Notepad
  • Restart XAMPP

prestashop installation system compatability error realpath_cache_size

7. For the last time, click Refresh information button again.


prestashop installation system compatability refresh information

8. You will now see the same image as below, saying "PrestaShop compatibility with your system environment has been verified!" Just ignore the "upgrade the ICU system package" and "install/enable PHP accelerator" warnings that you will see. Press NEXT to proceed.


prestashop installation compatability with system environment verified

9. Under Information about your Store, do the following: Shop name - name your shop. Main activity - I selected Download for this tutorial. Install demo data - Yes. Country - select your country. Enable SSL - I selected No since this is just a localhost installation.


prestashop installation information about your store

10. Under Your Account, do the following: First Name - Admin. Last Name - User. Email address - input a valid email. Shop password/Re-type to confirm - input desired password and do not forget it. When done press NEXT to proceed.


prestashop installation your account

11. In the "Configure your database by filling out the following fields", do the following: Database server address - 127.0.0.1 Database name - prestashop_db. Database login - root. Database password - blank or none. Table prefix - ps_ and check Drop existing tables. Press NEXT to proceed.


prestashop installation database configuration

12. Wait for the installation to finish.


prestashop installation underway

13. If ever there is an error during the installation, just press "clicking here" to restart the installation proceed.


prestashop installation restarted

14. Again, just wait for the installation to finish. It might take some time.


prestashop installation underway again

15. Done! Your PrestaShop e-commerce website installation is finished!


successfully created prestashop website

16. Please remember your login information. These include your Email and Password.


prestashop website admin login info

17. For security purposes, you also need to delete the install folder inside your prestashop folder. Continue to STEP 18.


delete prestashop install folder inside

18. To delete the install folder, just go to This PC > C drive > xampp > htdocs > prestashop > find and delete the install folder.


successfully deleted install folder inside prestashop root directory in htdocs

19. To access your Back Office or admin account, you can click the Manage your store button (see image below).


prestashop back office manage your store admin link

20. For my PrestaShop website, my admin account link is 127.0.0.1/prestashop/admin4250bt71v/index.php?controller=AdminLogin. Your link is different so do not use the one that I have here.


unique prestashop admin login link

Opening PrestaShop website homepage


1. To open PrestaShop ecommerce website homepage, just go to 127.0.0.1/prestashop or localhost/prestashop.


sample prestashop website homepage

Accessing PrestaShop website admin page


1. To access your PrestaShop admin login page, just type 127.0.0.1/prestashop/adminXXXXXXXXX/index.php?controller=AdminLogin. You need to change the XXXXXXXXX to your own. Just go to This PC > C drive > xampp > htdocs > prestashop > then find the admin folder inside your prestashop directory. See image below.


access prestashop website login page

2. In the admin login page, enter your Email address and your password. Press Log In to proceed.


sample prestashop website admin login page

3. And you just accessed your PrestaShop ecommerce website administration page.


sample prestashop website administration page

Thank you for reading this post guys! I do hope that it helped you a lot. If you have a question to ask, do not hesitate to leave a comment below. Cheers!

No comments:

123how.xyz only wants on-topic comment. Do not include any link, else your comment won't be published. Thanks!

Most Read Tutorials:

Powered by Blogger.