Getting Started Guide
2. Uncomment the 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.
If you have no access to the php.ini file (which is often the case in shared
hosting), contact your host about your hosting needs.
Activating PHP5
Oftentimes, dedicated or shared servers have both PHP 4 and PHP 5
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, 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.
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.
Important
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 of:
1&1
Add this line to the "Specific configuration" text-field from the Tools >
Generators sub-tab:
AddType x-mapp-php5 .php
For URL re-writing, add these lines:
Options +FollowSymLinks