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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Error Message


Go to End


3 Posts   1574 Views

Avatar
alchimie

Community Member, 2 Posts

25 June 2008 at 6:17am

Hi there,

When I go to install the CMS I get the below message.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /data/members/paid/a/l/alchimie-prades.fr/htdocs/www/install.php on line 518

Is there anything I can do to fix this?

Rich

Avatar
Sean

Forum Moderator, 922 Posts

25 June 2008 at 9:14am

What version of PHP does your host have? SilverStripe will only work on PHP 5, it doesn't work on 4.

Avatar
alchimie

Community Member, 2 Posts

25 June 2008 at 9:32am

I think I solved this issue with the help of a previous forum post - I put the below code into my htaccess file, and it was all good.

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php

Cheers dude,

Rich