Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » installing problem

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

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

Page: 1
Go to End
Author Topic: 3111 Views
  • Drew
    Avatar
    Community Member
    2 Posts

    installing problem Link to this post

    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

  • Drew
    Avatar
    Community Member
    2 Posts

    Re: installing problem Link to this post

    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

  • Simon
    Avatar
    Core Development Team
    27 Posts

    Re: installing problem Link to this post

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

    Thanks for the post!

    3111 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.