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

installing problem


Go to End


3 Posts   4170 Views

Avatar
Drew

Community Member, 2 Posts

5 November 2006 at 11:11am

Hi,

upon loading the php installer, i get the following error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/paekaka/public_html/silverstripe/install.php on line 31

Any ideas on why this is hapenning?

Cheers

Drew

Avatar
Drew

Community Member, 2 Posts

5 November 2006 at 1:58pm

Hey,

figured out problem - well for my case anyway so thought i'd let you know in case anybody else has the same problem.

My server has PHP Version 4.4.2 installed as well as PHP 5, however it seemed to default to using 4.4.2 so I added the following code to my .htaccess file:

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

and it all worked perfectly.

Drew

Avatar
Simon

Community Member, 27 Posts

29 November 2006 at 11:47am

Ahh, I see, some server configurations are different, and it depends which one you use I guess..

Thanks for the post!