Child pages
  • Installing PrestaShop on your computer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You may wish to install PrestaShop on your local machine, either in order 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 would you may already you have online.

Installing any web - application locally 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. It exists for many operating systems, which provides another letter for the acronym: WAMP (Windows+Apache+MySQL+PHP), MAMP (Mac OS X+...) and LAMP (Linux+...).

...

Choose the package that you feel the most comfortable with, and launch it,.

Checking that everything works

...

  • 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.

    Info

    http://127.0.0.1 is the "localhost", meaning "your computer": it is a loopback address which directs the browser to your local web server.
    In effect, http://127.0.0.1 and http://localhost are synonymous: you can use one or the other interchangeably, both send you to the root folder of your local web server.

    Warning

    Some web servers might not be able to start because their connexion ports (typically, port 80) are already used by another application.

    This often happens when Skype is used. To stop Skype from preventing your local web server to run, go into the Skype advanced settings (Tools > Options > Advanced > Connections) and uncheck the "Use port 80 and 443 as alternatives" option. Restart Skype, and start your local web server again.

  • 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 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 of sort that would open the correct URL in your browser.

...