Child pages
  • Getting Started

Versions Compared

Key

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

...

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 don’t hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service. We will continually to add them to this post.

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

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.

1&1

Create an .htaccess file and add this line:

...