Child pages
  • Misc. information

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of content

Table of Contents
maxLevel3

...

Misc. information

Keep a test version at hand!

...

This second instance 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 intact 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.

Checking for the GD library

The GD library enables PrestaShop to rework images that you upload, especially resizing them.

On a default installation of PHP, the GD Library should be turned on, but if that's not the case for your install, the standard Windows instructions are:

...

To install PrestaShop, PHP 5 must be activated. If you attempt to run PrestaShop using PHP 4, 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.

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!

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

The

...

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

1&1

Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tabyour .htaccess file:

Code Block
html
html

AddType x-mapp-php5 .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-tabyour .htaccess file:

Code Block
html
html

php 1

OVH

Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tabyour .htaccess file:

Code Block
html
html

SetEnv PHP_VER 5

To deactivate global registers:

Code Block
html
html

SetEnv REGISTER_GLOBALS 0

...