Installing PrestaShop 8 on your computer
You may wish to install PrestaShop on your local machine, either to test it before investing money in a server and domain name — or to customize your store locally before you push your modifications to the PrestaShop installation that you may already have set up online.
Locally installing any web application requires that you first install the adequate environment (namely the Apache web server), the PHP language interpreter, the MySQL database server, and ideally the phpMyAdmin tool. This is known as an AMP: Apache+MySQL+PHP.
AMPs exist for many operating systems, which provides another letter for the acronym: WAMP (Windows+Apache+MySQL+PHP), MAMP (Mac OS X+...), and LAMP (Linux+...).
This is a bit technical. Luckily, there are many pre-built packages that you can easily install. It does not prevent you from having to get technical here and there, but they do provide a huge help. Since all of the items packaged are open-source, these installers are most of the time free. Here is a selection of free AMP installers:
Choose the package that you feel the most comfortable with, and launch it.
Before continuing this PrestaShop installation tutorial, make sure that all of the components in your AMP package work.
- The web server should be up and running: You should be able to access it through your browser, by typing "127.0.0.1" in the address bar.
http://127.0.0.1is the "localhost", meaning "your computer": it is a loopback address that directs the browser to your local web server. As a
http://localhostare synonymous: you can use one or the other interchangeably, and both send you to the root folder of your local web server.Some web servers might not be able to start because their connexion ports (typically, port 80) are already used by another application.
- The database server should be up and running. MySQL is where all of PrestaShop's data is stored. The AMP package should provide you with a clear indicator of whether MySQL is running or not.
- The phpMyAdmin tool should be accessible. This is the web application that helps you handle data stored in MySQL. Its location depends on which AMP packaging you chose: it can be found at
http://127.0.0.1/phpmyadmin(XAMPP, WampServer, MAMP),
http://127.0.0.1/mysql(EasyPHP), or maybe at another location. Check your package's documentation – it might even provide a phpMyAdmin button that would open the correct URL in your browser.
Once you have checked that the package is correctly installed and that all of its parts are running, you need to find the root folder of your local web server.
The actual local location of the folder depends greatly on the AMP package, and can be customized:
Finally, you need to know the root username and password for MySQL to install PrestaShop.
Most packages use the username "root" with an empty password, including EasyPHP, MAMP, WampServer, and XAMPP.
Read your package's documentation!
With all that clear and done, you can follow up on the rest of this Getting Started guide and start installing PrestaShop.
When you install PrestaShop locally, keep in mind that:
- Files are not to be uploaded via an FTP software (such as Filezilla) to a web server: simply move them to the correct local folder, as indicated above.
- You do not have to create a local domain name: PrestaShop is available through the loopback address indicated above, which is either
http://127.0.0.1. PrestaShop itself is available at this address by adding its folder's name, for instance,
http://127.0.0.1/prestashopif PrestaShop is in the
/prestashop/subfolder of the local root folder. When accessing this address for the first time, you should be automatically redirected to PrestaShop's install, at either
This page has been recently updated!
🗣 What did you think of this article? Let us know!
Your feedback helps us improve PrestaShop's documentation for everyone! 🙌
You can use the emojis on the bottom right of this article to let us know what you think about this article ⬇️