This is absolutly php4 problem. Whe we try to install Pretashop on php 4.x than firstly we recognise our domain not forwarding to install directory. So we are trying www.example.com/install but we saw parse error. There is two solution for this problem.
1. Your host must upgrade php 5.x
2. Using php5-cgi file
I am using php5-cgi and everything seems ok for now. :D Because my host isn't changing or upgrading php version for me :) So a lot of person want to know how to use php5-cgi ???
I have learnt this solution from another e-shop solution's forum.
Step by step application.
1- Download php5-cgi.zip from rapidshare (
http://rapidshare.co...p5-cgi.zip.html )
2- Extract the file
3- From your ftp software (filezilla,cuteftp ... ) login your file server
4- In the www root you can see cgi-bin directory but my best way is you to crate another CGI named directory.
5- Upload extracted file to that directory.
6- Create or change .htaccess file and write these codes.
# start code HTACCESS
<IfModule mod_php5.c>
php_flag magic_quotes_gpc off
php_flag short_open_tag on
</IfModule>
DirectoryIndex index.php
Action php5-cgi /cgi/php5-cgi
AddHandler php5-cgi .php
# URL rewriting module activation
RewriteEngine on
# URL rewriting rules
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*).html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1$3 [L,E]
# Catch 404 errors
ErrorDocument 404 /404.php
# End Code HTACCESS
7- Than upload .htacces to your root directory
8- You can explore your domain (www.example.com) will forward www.example.com/install
I think everything will ok.
But then you have to read and manage standart prestashop installation steps.