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.
4 Posts 11460 Views
Problems with install on Godaddy shared linux server running PHP4 and PHP5.
Error upon landing on the install.php file
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/o/o/moonblink/html/paradisecms/install.php on line 518
I have tried editing the .httpaccess file to:
AddType application/x-httpd-php5 .php
But now it just wants to download the install.php file and does not bring anything up.
Can any one assist?
I am running the latest release of silverstripe, this is a brand new install in a subdir not the root. Thanks.
The PHP5 is setup wrong if its asking you to download.
I have tried editing the .httpaccess file
Dont know about .httpaccess if thats something godaddy uses or what but normally you use the .htaccess file which something like
AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php
You might want to ask your host about issues with setting up PHP5 as they will be able to walk you through it
Sorry what I mean was the .htaccess file. I was burnt out last night. I have tried adding that code to the .htaccess file, it is still doing the same thing, sometimes just a blank white screen.
Not sure how I can change how PHP5 is setup on Godaddys server, they really do not give you any options to change that.
you can see what I am referring to here http://www.paradiseprotech.com/paradisecms/
Any other ideas?
Its prompting me to down the file so the handler for .PHP isnt setup correctly, I think you need to use AddHandler rather then AddType in your code
AddHandler x-httpd-php5 .php