Installation & Ovh

sebastoche / 2012-07-09 14:49:13   

Hello
I'm trying to install the new indexhibit on OVH, with permissions 777 or 755 but i still get the same error :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.19/dolidon/www/ndxzstudio/lang/index.php on line 14
Thanks if someone can help

gno / 2012-07-09 20:57:06   

It looks like your host are running PHP version 4.

To check what version of PHP you are running, you can upload a php file with the following contents:

  1. <?php phpinfo ?>

If it's a version less than 5, you should to talk to OVH about moving your site onto a server with PHP5, as Indexhibit won't run on PHP4.

gno / 2012-07-09 20:58:39   

The code was partly eaten by the forum. I've placed it in a gist here: gist.github.com/…

bipster / 2012-07-10 07:08:22   

You have to put the following lines in your .htaccess file:

SetEnv REGISTER_GLOBALS 0
SetEnv MAGIC_QUOTES 0
SetEnv PHP_VER 5

gno / 2012-07-10 10:39:16   

A reference to the snippet from bipster above: help.ovh.co.uk/…

sebastoche / 2012-07-10 13:08:15   

thanks so much, it's working perfectly now !!!!!!

This thread has been closed, thank you.