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.
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?
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.
Ahh, I see, some server configurations are different, and it depends which one you use I guess..
Thanks for the post!