schvarzy Posted February 6, 2018 Share Posted February 6, 2018 Hello, I am trying to install the program. Usually I am ok with it but I keep getting an error when trying to install the software: PHP Parse error: syntax error, unexpected '[', expecting ')' in /home2/schvarzy/public_html/site-name/index.php on line 15 I have unzip the file prestashop_1.7.2.4 and uploaded the 3 files to the main directory. the zip file in binary and the 2 others in ASCII (I downloaded them back to make sure they were ok and they were). Permission on the 3 files are 644. What am I doing wrong.... Thanks for the help! Fred Link to comment Share on other sites More sharing options...
TinyStore Posted February 7, 2018 Share Posted February 7, 2018 Do you have PHP zip extension loaded? Check phpinfo. Link to comment Share on other sites More sharing options...
endriu107 Posted February 7, 2018 Share Posted February 7, 2018 Whats php version you use? It must be > 5.3 and I think for P.S 1.7 you should use php7. Link to comment Share on other sites More sharing options...
schvarzy Posted February 7, 2018 Author Share Posted February 7, 2018 Thanks for your fast reply. Seems that Hostgator is using 5.2.17 version... http://www.minelab-detector.com/phpinfo.php Not sure if they can upgrade or not... I may ask Cheers Frederic Link to comment Share on other sites More sharing options...
schvarzy Posted February 7, 2018 Author Share Posted February 7, 2018 and zip seems to be enable too Link to comment Share on other sites More sharing options...
razaro Posted February 7, 2018 Share Posted February 7, 2018 4 hours ago, endriu107 said: Whats php version you use? It must be > 5.3 and I think for P.S 1.7 you should use php7. 5.2 is too old , like endriu107 mention ask them to change to PHP 7.0 or 7.1 , as that have noticeable speed improvement then 5.6 which is also fine. Link to comment Share on other sites More sharing options...
schvarzy Posted February 8, 2018 Author Share Posted February 8, 2018 The PHP version was too low. I changed it to 7 and I was able to install prestashop. Some other issues regarding customisations of the templates are arising but will check it someone has the same issue or if someone already replied. Thanks to all of you for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now