Child pages
  • Getting Started

Versions Compared

Key

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

...

This Getting Started guide will show you how to:

  1. Verify that you can meet server meets all the system requirements.
  2. Install PrestaShop on your hosting server.

...

Before downloading or installing anything, you need to provide a home for your PrestaShop online store. This means it needs its files need to reside on a Web server. You might have a Web server of your own, but it is more likely that you have or will have your shop hosted by an Internet hosting service.

Tip

PrestaShop can host your online business on its in-house Web servers; please consult our corporate Website for details on our low-priced, secure Website hosting service. This is highly recommended for businesses with little or no experience with the Internet or computers. Naturally, we install PrestaShop for you.

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

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

PrestaShop can work with PHP 5.1 or later, but that versions inferior to 5.2 have bugs that might prevent some functionalities to work well as expected (such as invalid date timezone).
PrestaShop can also work with the IIS Web server 6.0 or later, and nginx 1.0 or later.

...

Code Block
html
html
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [php file] on line X.
Tip

Please don’t do not hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service, on PrestaShop's Forge (you will need an account). We will continue to add them to this post.

The following is a list of procedures of which we are aware:

guide as we receive them.

Warning
titleImportant

If the suggested way to activate PHP5 is to add some specific configuration rules to your .htaccess file, do not add them directly to the file itself!

The only clean way to customize your PrestaShop install's .htaccess file is to use the "Tools" tab's "Generators" sub-tab, and to paste your configuration lines in the "Specific Configuration" text-field. This way, you ensure that PrestaShop will never overwrite your .htaccess, thus losing these important lines.

The following is a list of procedures of which we are currently aware:

1&1

Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tab:

...

Otherwise, you can try renaming the PHP files to be executed in PHP 5 by changing the extention to ".php”php".

For URL re-writing, add these lines:

...

  1. Enter the cpanel. Many times this will be at http://www.(your_domain).(com/net/org/etc)/cpanel
  2. Enter your account username and password in the box that appears.
  3. A new page appears. Go to the bottom row of icons in the page and click the icon titled “Enable"Enable/Disable PHP 5”5"
  4. A new page appears. Click "Add PHP 5 To Your Account!".

...

Now that you have made sure that the necessary components are installed and activated on your hosting server, there are a few things to check before installing the PrestaShop e-Commerce software.

  1. Create a database for your store, or use the database designated by your hosting company.
  2. Make sure the GD Library is enabled. On a default installation of PHP, the GD Library 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 line (about half-way through the file, in the middle of a long list of extensions) by deleting the ";" at the start of the line
    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.myprestashop.com/) of your hosting server via FTP. You can also upload the files to a subdirectory you’ve you've created (e.g., http://www.myprestashop.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: /img, /mails, /modules, /themes/prestashop/lang, /translations
  7. In a Web browser, launch the Installer by going to your shop's root address: you will be redirected to the install (e.g., http://www.myprestashop.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, to /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.

Congratulations! Installation is now complete.

Log in to the PrestaShop back-office and start filling out your product products catalog and configuring the many settings to suit your tastes and needs.Note:

Tip

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

Anchor
Keep_a_test_version_handy
Keep_a_test_version_handy

...

After you have completed setting up your shop to get it just the way you want it, but before officially opening it to the buying public, we strongly recommend that you install a local test version on your personal computer (using WAMP for Windows, MAMP for Mac, or LAMP for Linux, or XAMPP for any of those platforms), or elsewhere on your hosting server.

This second version will be useful as a pre-production environment in which you can carry out all future changes to your PrestaShop online store, without affecting the live version. This way, if an error should occur, your live store remains unchangedintact and untouched.

Info

This method is for modifying PrestaShop application files only. Do not use a test version of the SQL database.

After you have confirmed that your test version works as it should, copy the test version over the live version. ( It is best to do this after peak usage hours, and with your store properly and temporarily disabled from within the PrestaShop back-office.)

Updating PrestaShop

We have a dedicated guide for that: Updating PrestaShop.

...