Child pages
  • Getting Started

Versions Compared

Key

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

...

Whichever hosting service you use must have the following components installed on your server space:

  • Linux, Unix, or Windows. Unix is highly recommended.
  • Apache Web server 1.3 or later, or IIS Web server 6.0 or later
  • PHP 5.2 or later. (You may have to activate PHP 5 on your hosting service.)
  • MySQL 5.0 or later

Please note that PrestaShop can work with PHP 5.0 1 or later, but than that versions inferior to 5.2 have bugs that might prevent some functionalities to work well (such as invalid date timezone).
Also, PrestaShop does work with MySQL 4.1.14 to 5.0 too, but some features are not working (e.g., product duplication) or have strange behaviorscan also work IIS Web server 6.0 or later, and nginx 1.0 or later.

Anchor
Install_PrestaShop
Install_PrestaShop

...

  1. Create a database for your store, or use the database designated by your hosting company.
  2. Turn on Make sure the GD Library functionalityis enalbled. On a default installation of PHP, the GD Library is turned off. The should be turned on, but if that's not the case for your install, here is the standard Windows instructions are:
    1. In the root directory of your PHP folder, open the php.ini file.
    2. Uncomment the line extension=php_gd2.dll (about half-way through the file, in the middle of a long list of extensions) by deleting the ;
    3. Restart the PHP services.
  3. Download the PrestaShop e-Commerce solution software.
  4. Unzip the PrestaShop ZIP archive anywhere on your hard drive.
  5. Upload the contents (not the folder itself) of the /prestashop folder to the root directory (e.g., http://www.mysite.com/) of your hosting server via FTP. You can also upload the files to a subdirectory you’ve created (e.g., http://www.mysite.com/prestashop/) if you wish to keep your root homepage separate.
  6. While you are connected to your Web hosting FTP server, make sure the following PrestaShop folders have "write" permissions (also known as "CHMOD 775", or "CHMOD 777" depending on your host – you can find an explanation of file permissions here) but do not apply these permissions recursively (ie., to their subfolders): /config, /upload, /download, /tools/smarty/compile. Then, make sure the following folders have "write" permissions and do apply these permissions recursively (to their subfolders): /img, /mails, /modules, /themes/prestashop/lang, /translations
  7. In a Web browser, launch the Installer by adding install going to your shop’s URL shop's root address: you will be redirected to the install (e.g., http://www.mysite.com/prestashop/install).
  8. Upon completing the PrestaShop Installer wizard, use your FTP software to navigate to your /prestashop folder. There, delete the /install folder and rename the /admin folder (for example, /admin123 or, even better, /xyz789). This is for security reasons. If later you forget the name you gave the /admin folder, you can confirm its name via your FTP browser.

...

  • Ask your hosting provider to restore the back up for you.
    Make sure to provide them with the latest backup that you have done during Step 1!
  • Import your backed up data via phpMyAdmin
    If the size of your database is too big, you might encounter an error message. If so, you might need to ask your hosting provider for help by changing the size of the database maximum upload. This is typically done by the tools provided to you by your provider, most often phpMyAdmin. You will find the backup data under the /admin/backups folder. You can also download the database from within your back office. Visit “Tools” then “DBBackup”. Select your latest database and download it to your computer by clicking on it. It should typically take between 1 and 20 minutes to download.

-------------Old instructions

  1. First, save your translations: in your current Back Office, go to Tools >> Translations, then export each language using the built-in Export tool.
  2. In your server database admin, back up your database.
  3. Via FTP, in the PrestaShop folder on your hosting server (e.g., http://www.mysite.com/prestashop/), create a backup copy of your current PrestaShop folder by renaming it (e.g., http://www.mysite.com/prestashop_old/).
  4. Download the latest version of the PrestaShop e-Commerce solution software.
  5. Unzip the new PrestaShop ZIP archive anywhere on your hard drive.
  6. Upload via FTP the new PrestaShop files located in the unzipped prestashop folder (and not the folder itself) to a new PrestaShop directory (e.g., http://www.mysite.com/prestashop/).
  7. If you had previously modified the contents of the /mails folder, copy the contents of your backup copy of /mails to the new build’s /mails folder.
  8. Copy the contents of your backup copy of the /img folder to the new build’s /img folder.
  9. If you had added any extra modules to your default version of PrestaShop, copy the added modules from the backup copy of /modules to the new build’s /modules folder.
  10. If you had installed some modules which keep their configuration inside a file (instead of the database) such as the “editorial” module (which use the editorial.xml file to store your content) you will have to copy them from your backup to your current module folder (e.g., “/modules/editorial/”).
  11. If you had previously modified the .htaccess file, merge the contents of the old and new .htaccess files, deleting any duplicate information. Do not replace one with the other.
  12. If applicable, copy your customized themes subfolder (e.g., /themes/mythemes) from the backup /themes folder to the new build’s /themes parent folder.
    • Note: If you had made changes to the default theme itself (not recommended; please see Create a customized Theme for the proper procedure), running the updater will therefore erase your changes. To recover the changes you had made to the default theme, create a new customized themes folder (for example, /themes/mythemes) in the new build and then transfer into it the contents of the old default theme folder located in your backup copy of PrestaShop.
  13. Copy the settings.inc.php file from the backup folder /config to the new build’s /config folder.
  14. In a Web browser, launch the Installer by adding /install to your shop’s URL (e.g., http://www.mysite.com/prestashop/install) and select ‘update’ at the beginning of the process.

Note: Regularly back up your database, ideally on different computers, in case of problems related to hardware or security.