Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Can't install Silverstripe (syntax error)


Reply

6 Posts   2660 Views

Avatar
samadeus

21 December 2008 at 8:05am Community Member, 27 Posts

Hello

I have uploaded the installation folder to my OVH hosting account, then i went to install file, but each time i get this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.65/ikgbcldw/www/silverstripe-v2.2.3/install.php on line 518

http://300gp.ovh.net/~ikgbcldw/silverstripe-v2.2.3/install.php

Should i give special right to this file?

Any help is muh appreiated!

Avatar
simon_w

21 December 2008 at 8:46am Forum Moderator, 474 Posts

This is because you're running PHP4. SilverStripe requires PHP5.

Avatar
samadeus

21 December 2008 at 10:14am Community Member, 27 Posts

Hello Simon

I asked OVH and they told me that they support both 4 and 5

It could be somthing alse then?

Avatar
Hamish

21 December 2008 at 8:47pm Community Member, 712 Posts

No. They have you set up with PHP4. Ask them to upgrade you to 5.

Avatar
samadeus

25 December 2008 at 4:05am Community Member, 27 Posts

Thanks a lot!

I did as described here to switch to PHP5 and it works great
http://help.ovh.co.uk/Php5AtOvh

Avatar
Sigurd

8 January 2009 at 1:13pm (Last edited: 8 January 2009 1:13pm), Forum Moderator, 628 Posts

Cheers Hamish, simon_w for helping out :)