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.

Archive

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

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

installing problem


Reply

3 Posts   3130 Views

Avatar
Drew

5 November 2006 at 11:11am Community Member, 2 Posts

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

5 November 2006 at 1:58pm Community Member, 2 Posts

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

29 November 2006 at 11:47am Core Development Team, 27 Posts

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

Thanks for the post!