Table of content
...
Getting started with PrestaShop 1.4
...
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 |
---|
|
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [php file] on line X.
|
...
Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tab:
Code Block |
---|
|
AddType x-mapp-php5 .php
|
For URL re-writing, add these lines:
Code Block |
---|
|
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
|
...
Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tab:
OVH
Add this line to the "Specific configuration" text-field from the Tools > Generators sub-tab:
Code Block |
---|
|
SetEnv PHP_VER 5
|
To deactivate global registers:
Code Block |
---|
|
SetEnv REGISTER_GLOBALS 0
|
...