17488 Posts in 4473 Topics by 1978 members
|Go to End|
5 November 2006 at 11:11am
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?
5 November 2006 at 1:58pm
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.
Core Development Team
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!
|Go to Top|