Child pages
  • Getting Started

Versions Compared

Key

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

...

Anchor
System_Requirements
System_Requirements

...

Technical requirements

Before downloading or installing anything, you need to provide a home for your PrestaShop online store. This means 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, who provides you with an online home.

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.

...

  • 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.
  • At least 32 Mb of RAM on your server (64 Mb is comfy, the more the better).

PrestaShop can work with PHP 5.1 or later, but versions inferior to 5.2 have bugs that might prevent some functionalities to work 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.

Activating PHP5

Oftentimes, dedicated or shared servers have both PHP4 and PHP5 available, but only PHP4 is activated by default.

To install PrestaShop, PHP 5 must be activated. If you attempt to run PrestaShop using PHP 4 or older, you will receive numerous errors, including this very common message:

...


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 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 add them to this 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:

...


AddType x-mapp-php5 .php

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

For URL re-writing, add these lines:

...


Options +FollowSymLinks
RewriteEngine On
RewriteBase /

Free.fr

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

...


php 1

OVH

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

...


SetEnv PHP_VER 5

To deactivate global registers:

...


SetEnv REGISTER_GLOBALS 0

GoDaddy

To View Your PHP Version:

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.

In the Server section, your PHP Version displays.

To Change Your PHP Version:

  1. From the Content menu, select Programming Languages.
  2. Select the PHP version you want to use, and then click Continue.
  3. Click Update.

Changes can take up to 24 hours to complete.

Lunarpages shared hosting

  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/Disable PHP 5"
  4. A new page appears. Click "Add PHP 5 To Your Account!".

Your language change is submitted. Please allow up to 24 hours for the change to be processed by the hosting server.

Installing PrestaShop

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.

...

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.

Misc. information

Activating PHP5

Oftentimes, dedicated or shared servers have both PHP4 and PHP5 available, but only PHP4 is activated by default.

To install PrestaShop, PHP 5 must be activated. If you attempt to run PrestaShop using PHP 4 or older, you will receive numerous errors, including this very common message:

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 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 add them to this 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:

Code Block
html
html

AddType x-mapp-php5 .php

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

For URL re-writing, add these lines:

Code Block
html
html

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
Free.fr

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

Code Block
html
html

php 1
OVH

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

Code Block
html
html

SetEnv PHP_VER 5

To deactivate global registers:

Code Block
html
html

SetEnv REGISTER_GLOBALS 0
GoDaddy

To View Your PHP Version:

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.

In the Server section, your PHP Version displays.

To Change Your PHP Version:

  1. From the Content menu, select Programming Languages.
  2. Select the PHP version you want to use, and then click Continue.
  3. Click Update.

Changes can take up to 24 hours to complete.

Lunarpages shared hosting
  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/Disable PHP 5"
  4. A new page appears. Click "Add PHP 5 To Your Account!".

Your language change is submitted. Please allow up to 24 hours for the change to be processed by the hosting server.

Updating PrestaShop

We have a dedicated guide for that: Updating PrestaShop.

...